-
Notifications
You must be signed in to change notification settings - Fork 23
Description
I am using footnote plugin with ckeditor4 in angular8 and getting below issue. Also We are planning to upgrade project from angular 8 to angular 16. Is there footnote support added in ckeditor5?
Steps to reproduce:
typed something then clicked on 'Insert footnote' > added one footnote end clicked OK > footnote will get added > without clicking anywhere in the editor again click on 'Insert Footnote' > getting below JS error.
because of this error whole angular application crashing.
polyfills-es2015.7201ea1ccee9f145e5bb.js:1 Uncaught TypeError: Cannot read properties of null (reading 'getHtml')
at Object.reorderMarkers (plugin.js?t=K87C:306:109)
at Object.build (plugin.js?t=K87C:159:18)
at CKEDITOR.dialog.onOk (footnotes.js?t=K87C:192:50)
at CKEDITOR.dialog. (ckeditor.js:618:97)
at CKEDITOR.dialog.l (ckeditor.js:10:224)
at CKEDITOR.dialog.fire (ckeditor.js:12:47)
at button.onClick (ckeditor.js:642:227)
at button. (ckeditor.js:578:264)
at button.l (ckeditor.js:10:224)
at button.fire (ckeditor.js:12:47)