editor.js/src/components/modules
Tatiana Fomina 581289c03e
Block tunes as a popover (#2091)
* Default tunes to popover

* Add the rest of default tunes

* Add popover

* Cleanup

* Rename custom content

* Cleanup

* Add ability to open block settings upwards

* Fix tests

* Cleanup default tunes

* Rename and cleanup

* Add ability to display rendered custom tunes

* cleanup

* Rename

* Add flag to close tunes popover

* Cleanup

* i18n

* Cleanup

* Fix build and tests

* Fix for iframe

* Add comments

* Display active item, move closeOnActivate to popover

* Add confirmation support to popover

* Handle boolean value in confirmation param

* Clarify flippable logic in popover

* Comments

* Pass editor element as a param of popover constructor

* Fix readability

* Tests

* Fix flipper for confirmation element

* Update confirmation config structure

* Rename onClick to onActivate

* Fix tests and build

* Make confirmation props optional

* Simplify processing tunes

* Renamings

* Fix text block tunes

* Docs

* Update event type

* Move enabling confirmation state to separate method

* move popover types

* Unhardcode color

* Support toggling

* Add support of disabled items

* Fix tab in empty block leading to selecting second item in popover

* Remove margins for styles api settings button class

* Fix arrow navigation between blocks after opening block tunes

* Cleaup in default tunes code

* Fix chaining confirmations

* Colors

* Types

* Change the way flippable elements of popover custom area are set

* Remove borders around popover icons

* Fix untabbable inline toolbar

* Fix locked scroll after closing tunes popover on mobile

* Cleanup

* Set max popover width

* Make popover icon's border outside

* Fix tab issue

* Fix focus/hover issue

* Reformat

* Cleanup

* Fix opening block tunes via keyboard

* Add disableSpecialHoverAndFocusBehavior

* Add deprecated comment

* Cleanup

* Fix popover active state

* Fix checklist deletion with confirmation

* Fix checklist deletion 2

* Fix popover focus

* Fix popover items being impossible to flip after searching

* Fix popover item highlighting issue

* Update flipper.spec.ts

* Fixes after review

* Add Tunes Api tests

* Fix multiple popover entries configured by one tune

* Add tool's renderSettings() tests

* Add popover confirmation state test

* Fix popover width on mobile

* Add popover tests

* Add changelog and update version

* Update changelog

* Fix block tunes being unable to open after tune activation

Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
2022-11-03 20:52:33 +03:00
..
api Block tunes as a popover (#2091) 2022-11-03 20:52:33 +03:00
toolbar Block tunes as a popover (#2091) 2022-11-03 20:52:33 +03:00
blockEvents.ts Block tunes as a popover (#2091) 2022-11-03 20:52:33 +03:00
blockManager.ts feat(toolbar): toolbar refactored and ui improved (#1815) 2021-11-24 21:14:24 +03:00
blockSelection.ts Fix copy in FireFox (#1632) 2021-04-08 22:19:49 +03:00
caret.ts Refactoring based on LGTM (#1635) 2021-04-08 21:32:49 +03:00
crossBlockSelection.ts refactoring(modules): the listeners module now a util (#1572) 2021-03-02 16:25:52 +03:00
dragNDrop.ts Fix BlockManager.setCurrentBlockByChildNode() with multiple Editor.js instances 2021-02-17 18:01:28 +03:00
modificationsObserver.ts feat(onchange): callback now accepts custom event (#1791) 2021-10-05 20:40:44 +03:00
paste.ts Fixed sanitizer on pasting HTML (#1686) 2022-04-26 22:42:23 +03:00
readonly.ts [Refactoring] Tools (#1595) 2021-03-31 23:29:41 +03:00
rectangleSelection.ts fix(readonly): crash with readonly property (#1969) 2022-02-09 20:46:26 +03:00
renderer.ts [Feature] Multiple toolbox items for single tool (#2050) 2022-06-17 18:31:55 +03:00
saver.ts feat(ui): the toolbox became vertical (#2014) 2022-04-25 18:28:58 +03:00
tools.ts Fix: pass user configuration to Tool prepare method (#1781) 2021-09-16 14:21:38 +00:00
ui.ts [Fix] Stop jumping to block start on toolbox close (#2055) 2022-05-14 00:20:42 +08:00