HTML Editor widget on Form. End user formatting

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
BLOMASKY
Posts: 1473
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

HTML Editor widget on Form. End user formatting

Post by BLOMASKY »

I have a plain text field on a form. Selected the HTML editor widget. Is there an option to have a toolbar (sort of like what is used in this forum) to allow the end user to easily edit the html? Ideally they could change the font size, color, etc. of selected text.

Now that I read the User Guide, the editor SHOULD have the buttons for formatting the text, but I don't see them.
Screenshot 2023-12-13 at 6.45.18 PM.png
Screenshot 2023-12-13 at 6.45.18 PM.png (116.87 KiB) Viewed 154933 times

Thanks

Bruce
Jaymer
Posts: 2454
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: HTML Editor widget on Form. End user formatting

Post by Jaymer »

there's some improvements coming in the next release, but it would be EXTREMELEY nice if we could use TinyMCE in Aware.
https://github.com/tinymce/tinymce

I'm not advocating Vlad pay $ to integrate it (ie. buy their license for distro) but providing a .props setting and instructions for us replacing the std. editor with TinyMCE would be great. Let us worry about licensing it (or not).
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
BLOMASKY
Posts: 1473
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Re: HTML Editor widget on Form. End user formatting

Post by BLOMASKY »

but my question is why don't I see the buttons for formatting text that are displayed in the documentation. When I add the HTML widget to a form that has HTML plain text, I see the following:
Screenshot 2023-12-13 at 7.38.22 PM.png
Screenshot 2023-12-13 at 7.38.22 PM.png (43.31 KiB) Viewed 154928 times
Jaymer
Posts: 2454
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: HTML Editor widget on Form. End user formatting

Post by Jaymer »

oh, didnt get that from your 1st image.
i see them. always have.
Screenshot 2023-12-13 at 8.01.28 PM.png
Screenshot 2023-12-13 at 8.01.28 PM.png (56.13 KiB) Viewed 154927 times
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
joben
Posts: 230
Joined: Wed Nov 06, 2019 9:49 pm
Location: Sweden
Contact:

Re: HTML Editor widget on Form. End user formatting

Post by joben »

Like Jaymer said, they have always worked for us as well.

Are you by any chance opening the form in a popup?
Regards, Joakim

Image
BLOMASKY
Posts: 1473
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Re: HTML Editor widget on Form. End user formatting

Post by BLOMASKY »

It was as a popup but I changed the output to default and I still don't have the tools.
Screenshot 2023-12-14 at 9.54.15 AM.png
Screenshot 2023-12-14 at 9.54.15 AM.png (106.68 KiB) Viewed 154865 times
joben
Posts: 230
Joined: Wed Nov 06, 2019 9:49 pm
Location: Sweden
Contact:

Re: HTML Editor widget on Form. End user formatting

Post by joben »

You can test this BSV and see what results you get:
https://sprend.com/download?C=e230210f8 ... 5efb99cbea


Step 1: Login in with default admin account and click the button.
htmlstuff1.png
htmlstuff1.png (9.8 KiB) Viewed 154855 times

Step 2. Update rule should pre-fill the Biography attribute.
htmlstuff2.png
htmlstuff2.png (18.95 KiB) Viewed 154855 times
Regards, Joakim

Image
BLOMASKY
Posts: 1473
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Re: HTML Editor widget on Form. End user formatting

Post by BLOMASKY »

Nope. Must be something with my install then.
Attachments
Screenshot 2023-12-14 at 1.13.07 PM.png
Screenshot 2023-12-14 at 1.13.07 PM.png (130.37 KiB) Viewed 154845 times
joben
Posts: 230
Joined: Wed Nov 06, 2019 9:49 pm
Location: Sweden
Contact:

Re: HTML Editor widget on Form. End user formatting

Post by joben »

Very strange.

Here are two things you can try:

1. Click F12 to open dev tools in your browser, then use the element inspector to target the tiny grey bar where the HTML editor buttons should have been. Can you actually see it containing any elements? Should look something like this:
htmlstuff3.png
htmlstuff3.png (42 KiB) Viewed 154831 times

2. Click F12 to open dev tools in your browser, there is a Network tab, if you have it open while clicking the "CLICK ME" button, you should be able to see all the network resources that are loading. The status column should read "200" on all files.
Regards, Joakim

Image
Post Reply