Skip to Content
0

How to instantiate TinyMCE editor?

Sep 26, 2017 at 10:37 AM

143

avatar image

Hello,

I'm trying to initialize TinyMCE editor in sapui5 xml view, but no luck.

I tried to include tinyMCE in sap.ui.define array and pass the content as Tinymce parameter to the function - it is `undefined` in the controller.

How do I load the library and initialize it?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sergio Guerrero Sep 26, 2017 at 01:35 PM
0

the library can be instantiated as a script tag on the index.html page...

then you may need to add an html snippet/tag in your xml view

https://sapui5.hana.ondemand.com/#/api/sap.ui.core.HTML

Share
10 |10000 characters needed characters left characters exceeded