3 ms·
I had mixed experience integrating CM6 into a programming language sandbox website. Basic actions like setting text, reading changes, setting selections and di
by ivanjermakov 2y ago
I had mixed experience integrating CM6 into a programming language sandbox website.
Basic actions like setting text, reading changes, setting selections and diagnostics took a lot more steps that I anticipated. Instead of setting text with a method, you need to create a transaction with text action and dispatch it to the editor instance.
Some more sophisticated actions like highlight regions require creating custom plugins.
In addition to that, all of these were not trivial and documentation was lacking fundamental concepts you need to understand to use its API.
Footprint, performance and typescript support are great though.