Adding HTML editor in Widget.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2017 02:42 AM
I want to add a HTML Editor in a Widget in HTML template. How can I achieve it??
Please find the below screenshot which I wanted to add in Widget:
Labels:
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2024 03:06 AM - edited ‎03-14-2024 03:16 AM
Hi,
Try using:
<div class="tinymce-container">
<sp-tinymce-editor name="first" ng-model="data.first" ng-model-options="{getterSetter: true, height:'400', plugins: 'paste', paste_as_text: false}"></sp-tinymce-editor>
</div>
Check the following link to see how to customize the attributes: Customize TinyMCE attributes