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

Adding footnote to table inside of an ins tag destroys table #34

Open
awptimus opened this issue Dec 13, 2018 · 0 comments
Open

Adding footnote to table inside of an ins tag destroys table #34

awptimus opened this issue Dec 13, 2018 · 0 comments

Comments

@awptimus
Copy link

If a table exists inside of an ins adding a footnote inside of a cell causes sibling tds and trs to be removed.

before footnote is added
<ins class="ice-ins ice-cts-1" data-cid="15" data-userid="" data-username="" data-changedata="" data-time="1544727161352" data-last-change-time="1544727439116"><table border="1" cellspacing="0" cellpadding="1" style="width:500px;" class="cke-table"><tbody><tr><td>test<br></td><td><br></td></tr><tr><td><br></td><td><br></td></tr><tr><td><br></td><td><br></td></tr></tbody></table></ins>

after footnote is added
<ins class="ice-ins ice-cts-1" data-cid="15" data-userid="mkolczynski" data-username="Michael Kolczynski" data-changedata="" data-time="1544727161352" data-last-change-time="1544727439116"><table border="1" cellspacing="0" cellpadding="1" style="width:500px;" class="cke-table"><tbody><tr><td>test</td></tr></tbody></table></ins>

a table is then added after with the footnote superscript
<table border="1" cellspacing="0" cellpadding="1" style="width:500px" class="cke-table"><tbody><tr><td><ins data-cid="15" data-userid="" data-username="" data-changedata="" data-time="1544727161352" data-last-change-time="1544727439116" class="ice-cts-1 ice-ins"><span tabindex="-1" contenteditable="false" data-cke-widget-wrapper="1" data-cke-filter="off" class="cke_widget_wrapper cke_widget_inline" data-cke-display-name="sup" data-cke-widget-id="20"><sup data-footnote-id="9lx4u" data-cke-widget-data="%7B%22classes%22%3Anull%7D" data-cke-widget-upcasted="1" data-cke-widget-keep-attr="0" data-widget="footnotemarker" class="cke_widget_element"><a href="#footnote-1" id="footnote-marker-1-1" rel="footnote">[1]</a></sup></span></ins></td></tr></tbody></table>

This does not occur when tables are not inside of an ins.

This makes the lite plugin and footnote plugin not play well together.

This

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

1 participant