Skip to content

Commit

Permalink
Delete fullpage plugin from modern theme tinymce/
Browse files Browse the repository at this point in the history
Каждое поле при сохранении оборачивалось в
`<!DOCTYPE html><html><head></head><body></body></html>` 
думаю это лишнее.
  • Loading branch information
PSalador authored May 3, 2018
1 parent 3dfa0be commit 2341676
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/assets/js/controllers/tinymce_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default class extends Controller {
let inline = true;

if (this.element.dataset.theme === 'modern') {
plugins = 'print autosave autoresize preview fullpage paste code searchreplace autolink directionality visualblocks visualchars fullscreen image link media template codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist lists textcolor wordcount imagetools contextmenu colorpicker textpattern';
plugins = 'print autosave autoresize preview paste code searchreplace autolink directionality visualblocks visualchars fullscreen image link media template codesample table charmap hr pagebreak nonbreaking anchor toc insertdatetime advlist lists textcolor wordcount imagetools contextmenu colorpicker textpattern';
toolbar1 = 'formatselect | bold italic strikethrough forecolor backcolor | link | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent | removeformat';
inline = false;
}
Expand Down Expand Up @@ -122,4 +122,4 @@ export default class extends Controller {
disconnect(){
tinymce.remove(`#${this.element.querySelector('.tinymce').id}`);
}
}
}

0 comments on commit 2341676

Please sign in to comment.