-
Notifications
You must be signed in to change notification settings - Fork 13
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
Parent Tag #19
Comments
This syntax might be cleaner and allow choice of tags and classes as well as multiple nesting:
|
This would also be helpful for customizing unordered lists:
|
@ohbiko thanks for the interesting suggestion. Do you know if Redactor allows nested block level elements at all, and how the Formatting feature (h1, p, etc.) behaves when a nested element, for example div in div, is selected? I have a feeling that the API doesn’t really support it. |
@jasonmckinney66 I also came across this issue recently that you can’t configure a button to add classes to a ul tag. According to docs this should work, but it does not. "specialList": {
"api": "module.block.format",
"args": {
"tag": "ul",
"class": "align-right"
}
} You can also replicate with a https://imperavi.com/redactor/docs/settings/formatting/#s-formattingadd |
Is it possible to specify a parent tag?
E.g. something like:
will produce
The text was updated successfully, but these errors were encountered: