-
-
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
Docs nested blockquotes fix #9472
Conversation
This guide is using real examples for blockquote - nesting is now a feature, so maybe it makes sense to remove or update this sentence? https://ckeditor.com/docs/ckeditor5/latest/framework/guides/deep-dive/schema.html#generic-items
|
Thanks @jacekbogdanski - can we just remove this sentence? I suppose the callback that disallows this structure is already removed, right? |
Co-authored-by: Anna Tomanek <a.tomanek@cksource.com>
From what I see the check for nested blockquote was removed in https://github.com/ckeditor/ckeditor5/pull/9382/files so I suppose we can just get rid of it 👍🏻 |
I believe this is exactly what was removed by @psmyrek from the code, if I read it right. We now need to specifically add code to prevent this behaviour, as described in the Block Quote docs. |
Thanks Jacek! @godai78 can you please remove it as part of this PR. Also added milestone, estimate and labels since it makes no sense to create an issue for this all. |
packages/ckeditor5-block-quote/docs/_snippets/features/nested-block-quote.html
Outdated
Show resolved
Hide resolved
packages/ckeditor5-block-quote/docs/_snippets/features/nested-block-quote.html
Outdated
Show resolved
Hide resolved
packages/ckeditor5-block-quote/docs/_snippets/features/nested-block-quote.html
Outdated
Show resolved
Hide resolved
packages/ckeditor5-block-quote/docs/_snippets/features/nested-block-quote.html
Outdated
Show resolved
Hide resolved
packages/ckeditor5-block-quote/docs/_snippets/features/nested-block-quote.html
Outdated
Show resolved
Hide resolved
packages/ckeditor5-block-quote/docs/_snippets/features/nested-block-quote.html
Outdated
Show resolved
Hide resolved
Co-authored-by: Anna Tomanek <a.tomanek@cksource.com>
Co-authored-by: Anna Tomanek <a.tomanek@cksource.com>
…block-quote.html Co-authored-by: Anna Tomanek <a.tomanek@cksource.com>
…block-quote.html Co-authored-by: Anna Tomanek <a.tomanek@cksource.com>
…block-quote.html Co-authored-by: Anna Tomanek <a.tomanek@cksource.com>
…block-quote.html Co-authored-by: Anna Tomanek <a.tomanek@cksource.com>
…block-quote.html Co-authored-by: Anna Tomanek <a.tomanek@cksource.com>
…block-quote.html Co-authored-by: Anna Tomanek <a.tomanek@cksource.com>
packages/ckeditor5-block-quote/docs/_snippets/features/nested-block-quote.html
Outdated
Show resolved
Hide resolved
packages/ckeditor5-block-quote/docs/_snippets/features/nested-block-quote.html
Outdated
Show resolved
Hide resolved
…block-quote.html Co-authored-by: Anna Tomanek <a.tomanek@cksource.com>
…block-quote.html Co-authored-by: Anna Tomanek <a.tomanek@cksource.com>
1) Move conversion for paragraph to <p style="margin:0;"></p> to plugin 2) Drop schema listener for nested <blockQuote>. Older versions of ckeditor did not support nested blockquotes[^1]. The schema listener is a workaround to keep nested blockquotes[^2]. CKEditor 28 added support for nested blockquotes back[^3][^4]. [^1]: ckeditor/ckeditor5#419 (comment) [^2]: ckeditor/ckeditor5#419 (comment) [^3]: ckeditor/ckeditor5#9382 [^4]: ckeditor/ckeditor5#9472 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1. Move conversion for paragraph to <p style="margin:0;"></p> to plugin 2. Drop schema listener for nested <blockQuote>. Older versions of ckeditor did not support nested blockquotes[^1]. The schema listener is a workaround to keep nested blockquotes[^2]. CKEditor 28 added support for nested blockquotes back[^3][^4]. [^1]: ckeditor/ckeditor5#419 (comment) [^2]: ckeditor/ckeditor5#419 (comment) [^3]: ckeditor/ckeditor5#9382 [^4]: ckeditor/ckeditor5#9472 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1. Move conversion for paragraph to `<p style="margin:0;"></p>` to plugin 2. Drop schema listener for nested `<blockQuote>`. Older versions of ckeditor did not support nested blockquotes[^1]. The schema listener is a workaround to keep nested blockquotes[^2]. CKEditor 28 added support for nested blockquotes back[^3][^4]. [^1]: ckeditor/ckeditor5#419 (comment) [^2]: ckeditor/ckeditor5#419 (comment) [^3]: ckeditor/ckeditor5#9382 [^4]: ckeditor/ckeditor5#9472 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Move conversion for paragraph to `<p style="margin:0;"></p>` to plugin Older versions of ckeditor did not support nested blockquotes[^1]. The schema listener is a workaround to keep nested blockquotes[^2]. CKEditor 28 added support for nested blockquotes back[^3][^4]. [^1]: ckeditor/ckeditor5#419 (comment) [^2]: ckeditor/ckeditor5#419 (comment) [^3]: ckeditor/ckeditor5#9382 [^4]: ckeditor/ckeditor5#9472 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
**Add mail plugin** Move conversion for paragraph to `<p style="margin:0;"></p>` to plugin **Drop schema listener for `<blockQuote>`** Older versions of ckeditor did not support nested blockquotes[^1]. The schema listener is a workaround to keep nested blockquotes[^2]. CKEditor 28 added support for nested blockquotes back[^3][^4]. [^1]: ckeditor/ckeditor5#419 (comment) [^2]: ckeditor/ckeditor5#419 (comment) [^3]: ckeditor/ckeditor5#9382 [^4]: ckeditor/ckeditor5#9472 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
**Add mail plugin** Move conversion for paragraph to `<p style="margin:0;"></p>` to plugin **Drop schema listener for `<blockQuote>`** Older versions of ckeditor did not support nested blockquotes[^1]. The schema listener is a workaround to keep nested blockquotes[^2]. CKEditor 28 added support for nested blockquotes back[^3][^4]. [^1]: ckeditor/ckeditor5#419 (comment) [^2]: ckeditor/ckeditor5#419 (comment) [^3]: ckeditor/ckeditor5#9382 [^4]: ckeditor/ckeditor5#9472 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
**Add mail plugin** Move conversion for paragraph to `<p style="margin:0;"></p>` to plugin **Drop schema listener for `<blockQuote>`** Older versions of ckeditor did not support nested blockquotes[^1]. The schema listener is a workaround to keep nested blockquotes[^2]. CKEditor 28 added support for nested blockquotes back[^3][^4]. [^1]: ckeditor/ckeditor5#419 (comment) [^2]: ckeditor/ckeditor5#419 (comment) [^3]: ckeditor/ckeditor5#9382 [^4]: ckeditor/ckeditor5#9472 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
**Add mail plugin** Move conversion for paragraph to `<p style="margin:0;"></p>` to plugin **Drop schema listener for `<blockQuote>`** Older versions of ckeditor did not support nested blockquotes[^1]. The schema listener is a workaround to keep nested blockquotes[^2]. CKEditor 28 added support for nested blockquotes back[^3][^4]. [^1]: ckeditor/ckeditor5#419 (comment) [^2]: ckeditor/ckeditor5#419 (comment) [^3]: ckeditor/ckeditor5#9382 [^4]: ckeditor/ckeditor5#9472 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Suggested merge commit message (convention)
Docs (block-quote): nested block quotes functionality description.