You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So when you have 10 editors in a single web page (they could be very similar, having the same content, being empty), you know which one you inspect:
For instance, you can have a form with 10 fields, each one a different editor. Without it, they would be named "editor-1", "editor-2", etc.. You'd rather want to have "name-editor", "post-editor", "signature-editor", etc. instead.
Feature: Allowed attaching the inspector collapsed using a configuration passed to `CKEditorInspector#attach()`. Implemented the `CKEditorInspector#destroy()` method. Unified `CKEditorInspector#attach()` arguments syntax and allowed attaching to multiple instances at a time. Closes#44. Closes#42. Closes#48.
BREAKING CHANGE: The `CKEditorInspector.attach( 'editor-name', editor );` syntax was deprecated and replaced by an object literal `CKEditorInspector.attach( { 'editor-name': editor, ... } );`.
ATM you can do
After https://github.com/ckeditor/ckeditor5-inspector/pull/46/files, it will be
That's a lot of cases to handle and it could be confusing. I'm for changing the API to something simpler, so there are always max 2 arguments:
Or even
cc @mlewand @Reinmar
The text was updated successfully, but these errors were encountered: