mirror of
https://github.com/codex-team/editor.js
synced 2026-03-14 22:55:47 +01:00
Tunes improvements for inline actions (#1722)
* Add tunes improvements * Allow to show Inline Toolbar at Block Tune Wrapper element * Add fake cursor on block selection * Fix lint * Update types * Fix bugs with selection * Remove selection observer * Update due to comments * Fix tests * Update docs/block-tunes.md Co-authored-by: Peter Savchenko <specc.dev@gmail.com> * Move fake cursor to selection utils * Fix missing range for Safari * Fix data attribute value * Add comment * Update z-index for inline-toolbar * Add changelog * Remove fake cursor visibility for the core Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
This commit is contained in:
parent
cf494a7a28
commit
6f36707f67
21 changed files with 302 additions and 73 deletions
|
|
@ -114,7 +114,6 @@
|
|||
* Tools list
|
||||
*/
|
||||
tools: {
|
||||
|
||||
/**
|
||||
* Each Tool is a Plugin. Pass them via 'class' option with necessary settings {@link docs/tools.md}
|
||||
*/
|
||||
|
|
@ -205,10 +204,10 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
type : 'paragraph',
|
||||
id: "b6ji-DvaKb",
|
||||
data : {
|
||||
text : 'Hey. Meet the new Editor. On this page you can see it in action — try to edit this text. Source code of the page contains the example of connection and configuration.'
|
||||
"id": "b6ji-DvaKb",
|
||||
"type": "paragraph",
|
||||
"data": {
|
||||
"text": "Hey. Meet the new Editor. On this page you can see it in action — try to edit this text. Source code of the page contains the example of connection and configuration."
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue