codex-team / codex-team/editor.js

[Bug] Odd space after dropdown toggle button when there is no tool present in inline toolbar.

Open
#1,299 1 comment 0 reactions 1 assignee Claimed by @ranemihir View on GitHub
bug
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Describe a bug:
There is an odd space after the toolbar dropdown toggle button if there is no inline tool present in the toolbar.

Steps to reproduce:
1. Set inlineToolbar property of any of the blocks to be an empty array `inlineToolbar = []`.
2. Go to the tool and click on its content to open the inlineToolbar.
3. There is a small margin of 6px after the toolbar dropdown toggle button.

Screenshot 2020-09-03 at 7 38 48 PM

Expected behavior:

Screenshot 2020-09-03 at 7 38 36 PM

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.