Skip to content
#

editor

Here are 3,061 public repositories matching this topic...

editor.js
karpovsystems
karpovsystems commented Jul 9, 2020

Describe a bug:
blocks.insert API does not pass config parameter to Tool

Steps to reproduce:

  1. Open insert method docs (https://editorjs.io/blocks#insert)
  2. Call insert method with the third parameter (config)
  3. Tool receives an empty config object

Expected behavior:
Config is passed to Tool constructor

Editor.js 2.18.0

Code sample

<!DOCTYPE html>
<html
theia
ekkl
ekkl commented Jul 9, 2018
  1. Select theme with thick strip in line number block.
  2. Save and restart. Open some file. Нou see that the first characters of the lines are hidden under stripe.
  3. Open another file. All display properly.
  4. If you see carefully that the whole block with line numbers in the first case is shifted to the left.
    First file
    First file

Improve this page

Add a description, image, and links to the editor topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the editor topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.