This patch replaces deprecated jQuery methods in the spectrum-colorpicker dependency. It can be removed when a fix is included in a package update. See: https://github.com/bgrins/spectrum/pull/564 [MAILPOET-4485]
10 lines
368 B
Bash
Executable File
10 lines
368 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "/* eslint-disable */
|
|
" > $INIT_CWD/assets/js/src/newsletter_editor/behaviors/tinymce_icons.js
|
|
|
|
echo "import tinymce from 'tinymce/tinymce';
|
|
" >> $INIT_CWD/assets/js/src/newsletter_editor/behaviors/tinymce_icons.js
|
|
|
|
cat $INIT_CWD/node_modules/tinymce/icons/default/icons.min.js >> $INIT_CWD/assets/js/src/newsletter_editor/behaviors/tinymce_icons.js
|