Browse Source

切换编辑器到tiny

master
chenlong 11 months ago
parent
commit
d9d7256ef7
  1. 2
      View/Admin/Notebook/lists.blade.php

2
View/Admin/Notebook/lists.blade.php

@ -545,7 +545,7 @@
this.noteBookVersion = 0;
this.noteBookUpVersion = 0;
tinymce.get('tiny').setContent(this.currentNotebook.content);
tinymce.get('tiny').resetContent(this.currentNotebook.content);
tinymce.get('tiny').mode.set(this.currentNotebook.user_mode === 'read' ? "readonly" : 'design')
this.getLatest();

Loading…
Cancel
Save