codex-team / codex-team/editor.js

[Bug] Incorrect behavior when applying a marker in a list

Open
#1,338 0 comments 0 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

Steps to reproduce:
1. Go to https://editorjs.io
2. Under heading "Key features" click on 1st or 2nd list item (not 3rd!) three times to select all the text in it
3. In floating toolbar click "Marker"

Expected behavior: a marker effect is applied to the selected text

Actual behavior: new empty list items appear before and after the selected list item

Screenshots:
![2020-10-03 11_49_32-Editor js - Vivaldi](https://user-images.githubusercontent.com/55959931/94983612-abb15880-056e-11eb-97d0-5008a72d210c.png)
![2020-10-03 11_50_51-Editor js - Vivaldi](https://user-images.githubusercontent.com/55959931/94983617-b4a22a00-056e-11eb-9498-59957b541108.png)

Device, Browser, OS: PC, Windows 10, Vivaldi (latest version), same behavior in Chrome, also latest version available

Editor.js version: actual, demo on official site

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.