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

Problem with first footnote inside blockquote/p (possible FIX included) #23

Open
jmrrva opened this issue May 30, 2017 · 1 comment
Open

Comments

@jmrrva
Copy link

jmrrva commented May 30, 2017

Problem: When adding the first footnote inside a <blockquote><p>bla bla</p></blockquote>, the <section class="footnotes"> element is placed inside the <blockquote> element instead of placing it at the end of the HTML.
Fix: Just change in plugin.js the function addFootnote:

Change
range.moveToElementEditEnd(range.root);
for:
range.moveToPosition( range.root, CKEDITOR.POSITION_BEFORE_END );

@andykirk
Copy link
Owner

Thanks.
I'll take a look as soon as I can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants