You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using ngx-summernote editor in our angular project.
The current configuration we are using is: summernoteConfig = { placeholder: 'Enter text here...', tabsize: 1, height: '509px', toolbar: [ ['para', ['style', 'ul', 'ol', 'paragraph']], ['style', ['bold', 'italic', 'underline']], ['fontsize', ['fontsize']], ['insert', ['table', 'picture', 'link', 'hr']], ['misc', ['undo', 'redo']] ], styleTags: ['p', 'blockquote', 'h1', 'h2', 'h3', 'h4'] };
We wanted to restrict the fontsize available in the font-size dropdown. We tried providing it as ['fontsize', ['8', '9', '10', '11', '12' , 14', '18', '24']],
But this did not work. The editor still shows all the fontsizes: (Please refer the picture below.)
Please suggest a way we can restrict the fontsizes available in the toolbar.
`
The text was updated successfully, but these errors were encountered:
We are using ngx-summernote editor in our angular project.
The current configuration we are using is:
summernoteConfig = { placeholder: 'Enter text here...', tabsize: 1, height: '509px', toolbar: [ ['para', ['style', 'ul', 'ol', 'paragraph']], ['style', ['bold', 'italic', 'underline']], ['fontsize', ['fontsize']], ['insert', ['table', 'picture', 'link', 'hr']], ['misc', ['undo', 'redo']] ], styleTags: ['p', 'blockquote', 'h1', 'h2', 'h3', 'h4'] };
We wanted to restrict the fontsize available in the font-size dropdown. We tried providing it as
['fontsize', ['8', '9', '10', '11', '12' , 14', '18', '24']],
But this did not work. The editor still shows all the fontsizes: (Please refer the picture below.)
Please suggest a way we can restrict the fontsizes available in the toolbar.
`
The text was updated successfully, but these errors were encountered: