- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2022 02:27 PM
Hello,
Is there a tag that allows me to display a HTML field in a UI page?
I want to the user to be able to input into a HTML field, such as the one that I am typing in
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2022 02:35 PM
Hello
you can use tiny MCE Editor for it to insert a HTML type field in UI page
Create a UI page and TRY TO COPY THE CODE IN HTML field AND GIVE TRY IT
You can also edit tools that you want to display in the toolbar of the EDITOR by editing the below property
glide.ui.html.editor.v4.toolbar.line1
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<script>
tinymce.init({
mode : "specific_textareas",
editor_selector : "mce",
width: '100%',
height: '6000px',
menubar: "tools",
toolbar: "$[gs.getProperty('glide.ui.html.editor.v4.toolbar.line1')]",
content_css : "* {font: 10px arial, sans-serif;} b {font-weight:bold;} th {font-weight:bold;} strong {font-weight:bold;}",
});
</script>
<textarea cols="80" rows="10" id="myArea" name="myArea" class="mce"></textarea>
</j:jelly>
Please mark my answer correct if it helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 05:29 AM
Hello Developers,
I am currently working on the same topic.
One of the line is missing in the above content.
kindly do add this line on top of the script which he mentions,
so that it will render the RichText editor .