-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: remove deprecated props & methods [EXT-4467] #1597
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,6 @@ export const actionSelectors = { | |
|
||
export const widgetLocation = { | ||
entryField: 'entry-field', | ||
/** @deprecated */ | ||
entryFieldSidebar: 'entry-field-sidebar', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is deprecated simply because this concept was specific to legacy UI extensions, right? (field editor as a sidebar extension?) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. entry field sidebar is extensions only |
||
entrySidebar: 'entry-sidebar', | ||
dialog: 'dialog', | ||
entryEditor: 'entry-editor', | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did we deprecate this? isn't this a slight regression in DX?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Originally, EditorInterface only had one editor. At some point, we allowed having multiple editors for one content type (the tabs [editor, reference, tags]). At that point
editor
was deprecated witheditors
.The original
editor
boolean doesn't allow you to specify instance parameters or the position of the app.editors
allows that.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, that makes more sense now! ty 😄