Updated ckeditor and use new mono package

This commit is contained in:
Jan Böhmer 2025-08-03 19:46:57 +02:00
parent 9eb8e33e09
commit 74fef78120
14 changed files with 1770 additions and 892 deletions

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import {Plugin} from 'ckeditor5';
export default class SingleLinePlugin extends Plugin {
init() {
@ -42,7 +42,7 @@ export default class SingleLinePlugin extends Plugin {
//We can not use the dataTransfer.setData method because the old object is somehow protected
data.dataTransfer = new DataTransfer();
data.dataTransfer.setData("text", cleaned);
}, { priority: 'high' } );
}
}
}