codex-team / codex-team/editor.js

[Bug] Cannot read property 'normalize' of undefined in Chrome

Open
#1,591 0 comments 3 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Uncaught TypeError: Cannot read property 'normalize' of undefined

![image](https://user-images.githubusercontent.com/15259299/110808608-353f2200-8295-11eb-8a40-d683cfa78733.png)

Steps to reproduce:

- reload the page
- click at the end of the editor
- click to the image capture
- press enter

and we have error and a new line in caption

https://user-images.githubusercontent.com/15259299/110809383-e2b23580-8295-11eb-9e99-25404ca06c69.mov

Editor.js version: `2.19.2-rc.2` in branch `next`
https://deploy-preview-1583--editor-js.netlify.app/

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.