onecode369 / WYSIWYG

Android Rich Text Editor
Apache License 2.0
56 stars 14 forks source link

Set text to editor #1

Closed aqitmalinzda closed 4 years ago

aqitmalinzda commented 4 years ago

Hello, I have successfully saved the text results to the database, but how do I set the text to the editor again?

onecode369 commented 4 years ago

the string which you have saved in database will be html format . Then retrieve the data and insert it WYSIWYG by setCode function.

isaacmaxparker commented 1 year ago

Do you have an example of how this setCode Function would work? Because from what I can see it doesn't take a parameter.

isaacmaxparker commented 1 year ago

For anyone else who has this error I finally found it:

wysiwygEditor.html =