-
Notifications
You must be signed in to change notification settings - Fork 1
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
Regression: "backdrop" in editorSettings may not be defined #147
Comments
indigoxela
added a commit
that referenced
this issue
Jan 6, 2025
indigoxela
added a commit
that referenced
this issue
Jan 6, 2025
Reopening this issue, as the yesterday's fix contains a logic flaw. |
indigoxela
added a commit
that referenced
this issue
Jan 7, 2025
indigoxela
added a commit
that referenced
this issue
Jan 7, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The (rare) problem has been introduced with #143, where a check is done for a format.editorSettings.backdrop.allowInlineStyle setting.
But "backdrop" doesn't exist if the profile doesn't use any plugin that provides own settings.
This results in the editor not initializing at all with:
Uncaught (in promise) TypeError: format.editorSettings.backdrop is undefined
To fix this, just do a check if the item exists before trying to access it.
The text was updated successfully, but these errors were encountered: