Closed TFleury closed 3 years ago
AllowTagsFromPaste plugin forces removeformatPasted to false before checking if itself is enabled.
removeformatPasted
false
https://github.com/Alex-D/Trumbowyg/blob/1d4fbb9ad4d05219d61a032d13ed8baf3e2c0a6e/plugins/allowtagsfrompaste/trumbowyg.allowtagsfrompaste.js#L133-L137
removeformatPasted should not be forced to false if AllowTagsFromPaste plugin is disabled in config.
AllowTagsFromPaste plugin forces
removeformatPasted
tofalse
before checking if itself is enabled.https://github.com/Alex-D/Trumbowyg/blob/1d4fbb9ad4d05219d61a032d13ed8baf3e2c0a6e/plugins/allowtagsfrompaste/trumbowyg.allowtagsfrompaste.js#L133-L137
removeformatPasted
should not be forced tofalse
if AllowTagsFromPaste plugin is disabled in config.