editor-injector: uncaught type error when previewing markdown
MR: Pending
Description
- Create a workspace.
- Open browser developer console.
- Open markdown file in the editor.
- Preview the markdown file.
- Notice the following error in the developer console
Uncaught (in promise) TypeError: Failed to execute 'createNodeIterator' on 'Document': parameter 1 is not of type 'Node'.
at n (VM20 injected.js:17:294319)
at VM20 injected.js:17:294716
at Vo (VM20 injected.js:17:294736)
at ka.ensureFillableField (VM20 injected.js:17:309840)
at VM20 injected.js:17:312452
at o (VM20 injected.js:17:309548)
at Object.p [as dispatch] (VM20 injected.js:17:306886)
at VM20 injected.js:17:348913
n @ VM20 injected.js:17
(anonymous) @ VM20 injected.js:17
Vo @ VM20 injected.js:17
ensureFillableField @ VM20 injected.js:17
(anonymous) @ VM20 injected.js:17
o @ VM20 injected.js:17
p @ VM20 injected.js:17
(anonymous) @ VM20 injected.js:17
Promise.then (async)
getFrameManagerConfiguration @ VM20 injected.js:17
Bs @ VM20 injected.js:17
yy @ VM20 injected.js:17
(anonymous) @ VM20 injected.js:17
(anonymous) @ VM20 injected.js:19
Show 13 more frames
Show less
Acceptance Criteria
TODO: Fill out (required)
-
[Describe what must be achieved to complete this issue.] -
[Describe another requirement needed to complete this issue.] -
[Add additional acceptance criteria as needed.]
Technical Requirements
TODO: Fill out or delete [If applicable, please list out any technical requirements for this feature/enhancement.]
Design Requirements
TODO: Fill out or delete [If applicable, please provide a link to the design specifications for this feature/enhancement.]
Impact Assessment
TODO: Fill out or delete [Please describe the impact this feature/enhancement will have on the user experience and/or the product as a whole.]
User Story
TODO: Fill out or delete [Provide a user story to illustrate the use case for this feature/enhancement. Include examples to help communicate the intended functionality.]
Edited by Vishal Tak