-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Style dropdown: styles definitions without classes
property (renaming elements)
#15031
Comments
Hi, changing to a feature improvement. Style dropdown was thought as a feature to add classes, not rename elements. For the example that you shared, the heading customization option looks like an ideal solution. |
classes
property is missingclasses
property (renaming elements)
Hello, well I'm sorry, I think this is kind of my fault, now that I migrated our custom-editor source code to TypeScript (I was using JSDoc before), my IDE/ I could also have seen it in the API documentation of Indeed, we will use headings for my Thanks! |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it). |
📝 Provide detailed reproduction steps (if any)
classes
property:✔️ Expected result
What is the expected result of the above steps?
The styles dropdown should be visible.
❌ Actual result
What is the actual result of the above steps?
The styles dropdown is not visible, due to the missing
classes
property.❓ Possible solution
If you have ideas, you can list them here. Otherwise, you can delete this section.
It should be possible to define styles without specifying
classes
property, if the style does not need CSS classes.If
classes
is really required, we should have a proper error message telling us thatclasses
property is missing (which will be more useful thanCannot read properties from undefined (reading 'value')
📃 Other details
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: