Sunday, 22 August 2021

quickInsertTags tag is not working in froala-editor

I and using froala editor and want to quickInsertTags plugin feature in my floala editor.

As per document, I need to include quick_insert.min.js to use quickInsertTags.

I have included this js file, but still it not showing option to insert div tag.

html

<div id="example"></div>

JS

var editor = new FroalaEditor('#example', {
      toolbarButtons: [['bold', 'italic', 'underline'], ['fontFamily', 'fontSize']],
      quickInsertEnabled: true,
      quickInsertTags: ['p', 'div', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']
});

JSFiddle



from quickInsertTags tag is not working in froala-editor

No comments:

Post a Comment