Display an input html field in a ui page (semi easy points)

juan casas
Mega Expert

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

 

 

1 ACCEPTED SOLUTION

Mohith Devatte
Tera Sage
Tera Sage

Hello @juan casas ,

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

find_real_file.png

<?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

View solution in original post

5 REPLIES 5

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 .

 

<script src="/scripts/tinymce4_4_3/tinymce.full.jsx"></script>
Thank you!😎