Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wax-prosemirror
Manage
Activity
Members
Labels
Plan
Issues
34
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wax
wax-prosemirror
Commits
31d4f814
Commit
31d4f814
authored
9 months ago
by
chris
Browse files
Options
Downloads
Patches
Plain Diff
fix plugins
parent
52512a22
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#60992
passed with stages
Stage:
Stage:
in 3 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wax-prosemirror-core/src/WaxView.js
+2
-1
2 additions, 1 deletion
wax-prosemirror-core/src/WaxView.js
with
2 additions
and
1 deletion
wax-prosemirror-core/src/WaxView.js
+
2
−
1
View file @
31d4f814
...
@@ -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
.
get
Plugins
()
,
...
wax
Plugins
,
]);
]);
const
reconfigureOptions
=
{
const
reconfigureOptions
=
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment