You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Paste it into an editor with the paste from office plugin enabled, e.g. the classic demo
βοΈ Expected result
Content appears in editor
β Actual result
Nothing appears in editor and the following exception is thrown:
Uncaught CKEditorError: unexpected-error {"originalError":{"message":"Cannot read property '2' of null","stack":"TypeError: Cannot read property '2' of null\n at ib (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:576129)\n at https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:575075\n at eb (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:575158)\n at hb.execute (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:579948)\n at nh.t.plugins.get.on.priority (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:580355)\n at nh.fire (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:128164)\n at ro.listenTo.priority (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:423188)\n at ro.fire (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:128164)\n at ro.i (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:421444)\n at ro.fire (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:128164)","name":"TypeError"}}
at Function.rethrowUnexpectedError (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:3929)
at nh.fire (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:128401)
at ro.listenTo.priority (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:423188)
at ro.fire (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:128164)
at ro.i (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:421444)
at ro.fire (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:128164)
at eh.fire (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:207744)
at eh.onDomEvent (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:422142)
at lr.listenTo.useCapture (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:207655)
at lr.fire (https://ckeditor.com/assets/libs/ckeditor5/15.0.0/ckeditor.js:5:128164)
π Other details
MS Word version: 16.30
OS: OSX
It looks like the issue is that the second paragraph has a numbered list style applied, but list numbering is disabled via an inline style. This comes across the clipboard as
π Provide detailed reproduction steps (if any)
βοΈ Expected result
Content appears in editor
β Actual result
Nothing appears in editor and the following exception is thrown:
π Other details
It looks like the issue is that the second paragraph has a numbered list style applied, but list numbering is disabled via an inline style. This comes across the clipboard as
which causes this code to throw an exception since the
mso-list
is set tonone
, which the regex doesn't match.If you'd like to see this fixed sooner, add a π reaction to this post.
The text was updated successfully, but these errors were encountered: