Skip to content

Commit

Permalink
Add tynmce hr plugin & toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
PululuK authored Oct 6, 2023
1 parent 26d4275 commit cd653dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin-dev/themes/new-theme/js/components/tinymce-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ class TinyMCEEditor {
initTinyMCE(config) {
const cfg = {
selector: '.rte',
plugins: 'align colorpicker link image filemanager table media placeholder lists advlist code table autoresize',
plugins: 'align colorpicker link image filemanager table media placeholder lists advlist code table autoresize hr',

Check failure on line 83 in admin-dev/themes/new-theme/js/components/tinymce-editor.js

View workflow job for this annotation

GitHub Actions / ESLint

This line has a length of 121. Maximum allowed is 120
browser_spellcheck: true,
toolbar1:
/* eslint-disable-next-line max-len */
'code,colorpicker,bold,italic,underline,strikethrough,blockquote,link,align,bullist,numlist,table,image,media,formatselect',
'code,colorpicker,bold,italic,underline,strikethrough,blockquote,link,align,bullist,numlist,table,image,media,formatselect,hr',
toolbar2: '',
language: window.iso_user,
external_filemanager_path: `${config.baseAdminUrl}filemanager/`,
Expand Down

0 comments on commit cd653dd

Please sign in to comment.