Render rich text widget manually in plone custom page

前端 未结 2 984
轻奢々
轻奢々 2021-01-15 18:27

I have a custom edit (browser page) for my dexterity content type. In template I have defined a form using Bootstrap and added some Angular JS code for form behavior. It is

2条回答
  •  清歌不尽
    2021-01-15 19:02

    It should suffice to apply the class mceEditor on the textarea.

    If that shouldn't work, include the initialization in your template:

    tinyMCE.init({
        elements : "id-of-textarea",
    }); 
    

提交回复
热议问题