Overview
The Rich Text Editor Component can be used on Appian interfaces where you want to show the rich text information in readable format to the end user. We can use the component to show it as an email subject typing interface.
With this component you can add images, customize tables etc. This also has a functionality called placeholders using which you can use the same information in multiple items in the editor without retyping.Additionally it allows uploading of images which get stored in the specified Appian folder (requires separate install of the Rich Text Editor Connected System Plug-in).
Note:
Key Features & Functionality
Parameters:
This feature is already available with the latest version.
Would be nice on the insert hyperlink if you had the option of configuring if the link is opened in a new tab, new window.
Hi there, we have been using this plugin on a project, but noticed a bug where if you use this on a standard form and type some text in then hit submit, you won't see any text in the process variable, or in the rule input on the form. It only appears if you interact with the form in some other way first, such as entering other information on the form and then submit.
We found this block of code in the plugin, which might be causing this:
editor.on("change", function () { clearTimeout(timer); timer = setTimeout(function () { updatedContent = tinyMCE.get("textContent").getContent(); updateUsageBar(updatedContent.length); Appian.Component.saveValue("richText", updatedContent); }, delay); });
saveValue occurs on change. The change event occurs when the focus is taken away from the editor: https://www.tiny.cloud/docs/advanced/events/#editorcoreevents
editor.on('keyup', function() { });
I'm also curious if it's possible to make the content selectable to be copied after it is in read only mode (isReadOnly set to true).
Hello,
I see that the Developer's Guide pdf says that this plugin works in IE 11: "Supported Browsers - Google Chrome, Mozilla Firefox, Internet Explorer11, Edge, Safari."
However when actually using the plugin in IE11 it doesn't work and gives this message: "This component is not available on Microsoft Internet Explorer 11."
Was that an error in the guide or is it meant to work in IE 11? If the latter, I think adding "ie11" to the <supported-user-agents> tag of the appian-component-plugin.xml file would fix this.
Thanks.
Hi ,
The component will accept the richTextValue before loading the editor in the interface. Once it loaded, the component won't accept any change in the richTextValue parameter. This is because to avoid a loop when developers use the same rule input for both value and saveInto.
Hi Team,
Whatever data is passed to richTextValue is not being shown on the UI. Can you explain how its working?
Thanks in Advance