Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano committed Aug 6, 2023
1 parent fb7d6cb commit a7f3026
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 115 deletions.
8 changes: 1 addition & 7 deletions js/mage/adminhtml/wysiwyg/tinymce/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,13 @@ tinyMceWysiwygSetup.prototype =
promotion: false,
convert_urls: false,
relative_urls: true,
// TODO
// Possible values: oxide (default), oxide-dark, tinymce-5, tinymce-5-dark
skin: 'oxide-dark',
// TODO: why load this custom css? propose to delete all themes/advanced/skins/default/*.css
// https://www.tiny.cloud/docs/tinymce/6/add-css-options/#content_css
//content_css: this.config.content_css,
skin: 'oxide',
urlconverter_callback: (url, node, on_save, name) => {
// some callback here to convert urls
//url = this.decodeContent(url);
return url;
},
setup: (editor) => {

var onChange;

editor.on('BeforeSetContent', function (evt) {
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit a7f3026

Please sign in to comment.