I have several forms that hold rich text editors. Some of these fields, users are going to want to expand them to write as a document. I do not believe that the rich text editor can do this - please let me know if I'm wrong
Are there any tricks to making these rich text editors pop up? I'm guessing a new window with a rich editor, have the user write whatever with a function that inject that data back to the original rich text editor box?
Hi @gstlouis ,
No problem, see below. I have done it for you.
First, create a tree that looks like this;
Secondly, you now want to set a global variable to true. You want to do this on the "onSelect" attribute for "Label1".
What this is doing, is setting the global variable which is sat within the "visible" attribute of the PopUpContainer to true, this will show the container, and everything it contains. The code for the container will be the following;
Now, within the PopUpBody, you have an Close_Icon, what we want to do here is do the opposite to what we did with the label because we want to close the popUp. In order to do this, we simply update the global variable to false. We do this within the "onSelect" attribute of the close icon. Please see below.
Now, in order to get the richTextEditor outside of the pop up to read and display what is contained within the pop up, we need to set the "default" attribute to look at the text. In order to do this, navigate to "TargetEditor", and select attribute dropdown, and choose "default", now for this example, we will write the type the following;
I have gave you functionality here, there is no design work, thats for your freedom. If you have any questions, please let me know.
I believe this more than answers your question, please select this as a solution so others can get the same help.
Thank you.
I'm not sure I follow you on this, sorry. But yes a pop up I'm thinking will be my best option
You can use .HtmlText.
I would make a pop up, use onSelect, or maybe onChange if its availble to dictate which RichTextEditor appears.
As for anything else, im still pretty knew, but thats what i got in 5 minutes after playing with different attributes.
RichTextEditor1 is the editor on the right, and the editor on the left is calling its text using the default attribute.
WarrenBelz
146,618
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,957
Most Valuable Professional