ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Writing abbreviation-plugin sample test How do I force the value to change after applying abbreviation?

Open racktime opened this issue 1 year ago • 0 comments

📝 Ask a question

I am writing a sample test for abbreviation-plugin.

After applying abbreviation to the editor Click the button to forcibly change the target value. The value of the editor screen and data model must also be changed.

I would appreciate it if you could let me know the API and sample code.

editor.commands.get("addAbbreviation").value.abbr = "test"; editor.commands.set( 'abbreviation', title ) not working

What is your question? Please be as specific as possible to help us understand it.

https://ckeditor.com/docs/ckeditor5/latest/tutorials/abbreviation-plugin/abbreviation-plugin-level-1.html

image

racktime avatar Feb 22 '24 07:02 racktime