Open sosie-js opened 3 years ago
Example has been improved with redactor. -We see that it does not react to click on paragraph block. We have to double click to have redactor report on current block index. -When in readonly mode, the current block index is frozen to the last index block.
I am getting the same issue here, random index at the start. Really makes it difficult to tell which block is actually selected
Describe a bug. On start/load, editor.blocks.getCurrentBlockIndex() return last index of the block inserted
Steps to reproduce: see example Finish the demo by clicking on the button of the Truth..the saving button gives the expected behavior
Expected behavior: should return -1 expected as no block is selected
Screenshots:
Device, Browser, OS: FF+linux
Editor.js version: 2.1.9
Plugins you use with their versions: Independant of the plugin