cancel
Showing results for 
Search instead for 
Did you mean: 

How to instantiate TinyMCE editor?

dunayevsky_yuri
Participant
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

SergioG_TX
Active Contributor
0 Kudos

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