Skip to content
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

Schema: allow all #4021

Closed
scofalik opened this issue Mar 20, 2017 · 3 comments
Closed

Schema: allow all #4021

scofalik opened this issue Mar 20, 2017 · 3 comments
Labels
package:engine resolution:duplicate This issue is a duplicate of another issue and was merged into it.

Comments

@scofalik
Copy link
Contributor

It should be possible to allow all elements in given element. I see it along these lines:
schema.allow( { name: '*', inside: 'elem' } );. elem chould be $root for example.

@scofalik scofalik changed the title Schema: allow all. Schema: allow all Mar 20, 2017
@pjasiun
Copy link

pjasiun commented Mar 20, 2017

It's not enough to allow all. For instance, if one adds quote to root and then wants to add paragraph to that quote the config "Allow * inside root" will disallow adding paragraph in quote. We need "Allow * inside *":

schema.allow( { name: '*', inside: '*' } );

Also, we should be able to allow any attribute on any element.

@Reinmar
Copy link
Member

Reinmar commented Mar 20, 2017

Why do we need all this?

@Reinmar
Copy link
Member

Reinmar commented Nov 17, 2017

I'll close this as it's all part of #3784. But please answer because I need to know why we need this.

@Reinmar Reinmar closed this as completed Nov 17, 2017
@mlewand mlewand transferred this issue from ckeditor/ckeditor5-engine Oct 9, 2019
@mlewand mlewand added resolution:duplicate This issue is a duplicate of another issue and was merged into it. package:engine labels Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:engine resolution:duplicate This issue is a duplicate of another issue and was merged into it.
Projects
None yet
Development

No branches or pull requests

4 participants