mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
ckeditor improve textarea detection
This commit is contained in:
@@ -66,7 +66,10 @@ ClassicEditor.defaultConfig = {
|
||||
language: 'fr'
|
||||
};
|
||||
|
||||
let Fields = document.querySelectorAll('textarea');
|
||||
|
||||
let Fields = [];
|
||||
Fields.push.apply(Fields, document.querySelectorAll('textarea.ckeditor'));
|
||||
Fields.push.apply(Fields, document.querySelectorAll('.cf-fields textarea'));
|
||||
|
||||
Fields.forEach(function(field) {
|
||||
ClassicEditor
|
||||
|
Reference in New Issue
Block a user