mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 17:51:13 +08:00
Add back basic TinyMCE html editor [SCI-7965]
This commit is contained in:
parent
67ad52152a
commit
238354a314
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
|
@ -11,6 +11,7 @@ import 'tinymce/plugins/autoresize';
|
|||
import 'tinymce/plugins/link';
|
||||
import 'tinymce/plugins/advlist';
|
||||
import 'tinymce/plugins/codesample';
|
||||
import 'tinymce/plugins/code';
|
||||
import 'tinymce/plugins/autolink';
|
||||
import 'tinymce/plugins/lists';
|
||||
import 'tinymce/plugins/image';
|
||||
|
@ -193,7 +194,7 @@ window.TinyMCE = (() => {
|
|||
.before(`<div class="tinymce-placeholder" style="height:${tinyMceInitSize}px"></div>`);
|
||||
tinyMceContainer.addClass('hidden');
|
||||
const plugins = `
|
||||
image table autosave autoresize link advlist codesample autolink lists
|
||||
image table autosave autoresize link advlist codesample code 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