mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 19:51:01 +08:00
Add image TinyMCE plugin [SCI-7916]
This commit is contained in:
parent
dc8b147282
commit
5e63240996
1 changed files with 2 additions and 1 deletions
3
app/javascript/packs/tiny_mce.js
vendored
3
app/javascript/packs/tiny_mce.js
vendored
|
@ -13,6 +13,7 @@ import 'tinymce/plugins/advlist';
|
|||
import 'tinymce/plugins/codesample';
|
||||
import 'tinymce/plugins/autolink';
|
||||
import 'tinymce/plugins/lists';
|
||||
import 'tinymce/plugins/image';
|
||||
import 'tinymce/plugins/charmap';
|
||||
import 'tinymce/plugins/anchor';
|
||||
import 'tinymce/plugins/searchreplace';
|
||||
|
@ -191,7 +192,7 @@ window.TinyMCE = (() => {
|
|||
.before(`<div class="tinymce-placeholder" style="height:${tinyMceInitSize}px"></div>`);
|
||||
tinyMceContainer.addClass('hidden');
|
||||
const plugins = `
|
||||
table autosave autoresize link advlist codesample autolink lists
|
||||
image table autosave autoresize link advlist codesample autolink lists
|
||||
charmap anchor searchreplace wordcount visualblocks visualchars
|
||||
insertdatetime nonbreaking save directionality customimageuploader
|
||||
marvinjs custom_image_toolbar help quickbars ${window.extraTinyMcePlugins ? window.extraTinyMcePlugins : ''}
|
||||
|
|
Loading…
Reference in a new issue