Skip to Content

How to instantiate TinyMCE editor?

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 26, 2017 at 01:35 PM

    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

    Add comment
    10|10000 characters needed characters exceeded