Releases: kiruh/ckeditor5-placeholder
Releases · kiruh/ckeditor5-placeholder
Fix: Take bracket length into account when extracting value
The custom brackets option I introduced the other day resulted in adding 1 character on save every time.
This happens because the editing command was not adapted to the length of the custom brackets and always assumes a length of 1.
Thanks to @baspeeters for contribution
Fix vulnerability issues
1.2.0 update version in examples
Add config option to customize placeholder brackets
Example
ClassicEditor.create(document.querySelector("#editor"), {
plugins: [
// ...
Placeholder,
],
toolbar: [
// ...
"placeholder",
],
placeholderProps: {
types: ["First Name", "Date"],
},
placeholderBrackets: {
open: "{",
close: "}",
}
});
Thanks to @baspeeters for contribution!
Support for new and old versions of ckeditor
- Support for new writer interface in new ckeditor version (@PavolC)
- Support for old writer interface to be back compatible
Fix placeholder error with viewWriter
1.0.5 update package version
Fix ckeditor-duplicated-modules error
Fix error
ERROR Error: Uncaught (in promise): CKEditorError: **ckeditor-duplicated-modules**: Some CKEditor 5 modules are duplicated. Read more: https://ckeditor.com/docs/ckeditor5/latest/framework/guides/support/error-codes.html#error-ckeditor-duplicated-modules
Remove useless files from npm
- remove useless files from npm 92d2850