Fix more bugs, move plugins.edn and add enabled

- Move plugins.edn to config/ as it is user configuration
- Add plugin-config enabled flag and moved plugin enabled
- Fixed bugs with manual install
- Refactored plugin-config component to have its own listener
- Split out shared plugin fns to a common ns - plugin-config shouldn't
  need to depend on a component like plugin-handler
- Bump rewrite-edn to include upstream fix and avoid tons of cljs
  warnings with earlier versions
- Fix react warning introduced outside this PR in ui/icon
This commit is contained in:
Gabriel Horner
2022-10-10 11:46:29 -04:00
parent 784ad7cce3
commit 0c570a0300
22 changed files with 196 additions and 163 deletions

View File

@@ -1503,7 +1503,7 @@
(= name "embed")
(macro-embed-cp config arguments)
(and plugin-handler/lsp-enabled? (= name "renderer"))
(and config/lsp-enabled? (= name "renderer"))
(when-let [block-uuid (str (:block/uuid config))]
(plugins/hook-ui-slot :macro-renderer-slotted (assoc options :uuid block-uuid)))