Skip to content
Snippets Groups Projects
Commit 31d4f814 authored by chris's avatar chris
Browse files

fix plugins

parent 52512a22
No related branches found
No related tags found
No related merge requests found
Pipeline #60992 passed with stages
in 3 minutes and 43 seconds
...@@ -54,6 +54,7 @@ const WaxView = forwardRef((props, ref) => { ...@@ -54,6 +54,7 @@ const WaxView = forwardRef((props, ref) => {
const [mounted, setMounted] = useState(false); const [mounted, setMounted] = useState(false);
context.app.setContext({ ...context, createPortal }); context.app.setContext({ ...context, createPortal });
const schema = context.app.getSchema(); const schema = context.app.getSchema();
const waxPlugins = context.app.getPlugins();
const setEditorRef = useCallback( const setEditorRef = useCallback(
node => { node => {
...@@ -134,7 +135,7 @@ const WaxView = forwardRef((props, ref) => { ...@@ -134,7 +135,7 @@ const WaxView = forwardRef((props, ref) => {
finalPlugins = defaultPlugins.concat([ finalPlugins = defaultPlugins.concat([
createPlaceholder(placeholder), createPlaceholder(placeholder),
...context.app.getPlugins(), ...waxPlugins,
]); ]);
const reconfigureOptions = { const reconfigureOptions = {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment