-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Prohibit list nesting #3501
Comments
Hi, Any update on this? Have you found a fix/workaround @hjagodzinski ? I have the exact same problem, restrictions expressed by |
Update :
For that part, you can set the option lists_indent_on_tab (from lists plugin) to But still, the current config
|
This issue is stale because it has been open 365 days with no activity. Please comment if you wish to keep this issue open or it will be closed in 30 days. |
This issue was closed because it has been stalled for 30 days with no activity. |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
I want to limit HTML to given subset defining
valid_children: '-h1[b],-h2[b],-li[h1|h2|ul|ol],-ul[ul|ol],-ol[ul|ol]'
.Provided this configuration it's possible to create nested list with TAB key and by pasting it from already existing HTML. Here is an example of a nested list:
**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via fiddle.tinymce.com or similar.
demo
What is the expected behavior?
It's not possible to create a nested list by a TAB key or by pasting it from already existing HTML. The pasting should strip nested list tags (ol, ul, li).
Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE?
I was able to reproduce it with various 4.* versions.
The text was updated successfully, but these errors were encountered: