Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

Insert text in Rich Text Editor (SummerNote)

Hi, I am able to find a rich text editor on the screen and insert text, but when I try to submit the form the text is not found. How can I write to the Rich Text Editor and have the value persist when I submit the form? I checked the code and it doesn't look like the text editor is identified as a "rich text editor." I tried the rteWrite(_rte("note-editable") code and it didn't work at all. The class name is note-editable.

Here is the relevant script:

_include("globalvariables.sah");
_click(_div("note-editable"));
_setValue(_div("note-editable"), $uniqueStr);
_check(_checkbox("status_change"));
_click(_submit("Preview"));
_click(_button("Publish"));

When the publish button is hit, I get an error that the body content is blank (which would be the content passed in the rte). Any suggestions?
Sign In or Register to comment.