tipus/editor
jordi fita mas 5b1a63a69c Move the styles declaration inside BlockEditor
I do not know why, but when the styles are declared as settings of the
BlockEditorProvider, then typing anything is too slow to be usable.
But, when the styles are declared within the BlockEditor, without the
useSelect hook, then it works as expected (not fast, not that, but at
least not intolerably slow.)

I tried with a useMemo to keep the styles the same when there is no
change, which is most of the time, but the behaviour is the same.

Since i do not need to pass the styles from without the application,
at least not for now, my only option is to have them directly in
BlockEditor.
2024-06-15 23:28:58 +02:00
..
BlockEditor.jsx Move the styles declaration inside BlockEditor 2024-06-15 23:28:58 +02:00
Editor.jsx Move the styles declaration inside BlockEditor 2024-06-15 23:28:58 +02:00
Header.jsx Add header with “pinned items” 2024-06-15 03:40:14 +02:00
Sidebar.jsx Remove manual call to enableComplementaryArea from Sidebar 2024-06-15 03:37:34 +02:00
constants.js Move enableComplementaryArea call to Sidebar 2024-06-15 03:37:34 +02:00
editor.scss Add header with “pinned items” 2024-06-15 03:40:14 +02:00
index.html Replace isolated-block-editor in favor of @wordpress/block-editor 2024-06-14 03:24:07 +02:00
main.jsx Replace isolated-block-editor in favor of @wordpress/block-editor 2024-06-14 03:24:07 +02:00