Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Leaderboard

Popular Content

Showing content with the highest reputation on 09/13/2025 in Posts

  1. <link href="catalog/view/theme/bigmag BigMag, я думаю це чийсь кастом якоїсь студії скоріш за все)
    1 point
  2. Простой вариант расширения редактора в Opencart 2.3.... Ищем файл opencart.js Путь: admin\view\javascript\summernote\opencart.js Ищем строчки: $(element).summernote({ disableDragAndDrop: true, height: 300, emptyPara: '', lang: 'ru-RU', toolbar: [ и вставляем сюда: ['codeview', ['codeview']], ['style', ['style']], ['style', ['bold', 'italic', 'underline', 'clear']], ['font', ['strikethrough', 'superscript', 'subscript']], ['fontname', ['fontname']], ['fontsize', ['fontsize']], ['color', ['color']], ['para', ['ul', 'ol', 'paragraph']], ['height', ['height']], ['table', ['table']], ['insert', ['link', 'image', 'video']], ['view', ['fullscreen', 'codeview', 'help']], ['undo', ['undo']], ['redo', ['redo']], Можно поменять сортировку кнопок для удобства, я сделал себе такую Будет выглядеть так: $(element).summernote({ disableDragAndDrop: true, height: 300, emptyPara: '', lang: 'ru-RU', toolbar: [ ['codeview', ['codeview']], ['style', ['style']], ['style', ['bold', 'italic', 'underline', 'clear']], ['font', ['strikethrough', 'superscript', 'subscript']], ['fontname', ['fontname']], ['fontsize', ['fontsize']], ['color', ['color']], ['para', ['ul', 'ol', 'paragraph']], ['height', ['height']], ['table', ['table']], ['insert', ['link', 'image', 'video']], ['view', ['fullscreen', 'codeview', 'help']], ['undo', ['undo']], ['redo', ['redo']], ],
    1 point
  3. Попробуйте <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/codemirror.css"> <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/theme/monokai.css"> <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/codemirror.js"></script> <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/codemirror/3.20.0/mode/xml/xml.js"></script> <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/codemirror/2.36.0/formatting.js"></script> В том же блоке где подключается summernote До Подключения summernote У меня подключился, даже без инициализации в скрипте
    1 point
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.