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
7172534a
Commit
7172534a
authored
1 year ago
by
chris
Browse files
Options
Downloads
Patches
Plain Diff
remove import
parent
3bf0758b
No related branches found
No related tags found
1 merge request
!472
Upgrade pm
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
editors/demo/src/Editoria/config/config.js
+1
-1
1 addition, 1 deletion
editors/demo/src/Editoria/config/config.js
wax-prosemirror-services/src/ImageService/ImageService.js
+0
-6
0 additions, 6 deletions
wax-prosemirror-services/src/ImageService/ImageService.js
with
1 addition
and
7 deletions
editors/demo/src/Editoria/config/config.js
+
1
−
1
View file @
7172534a
...
...
@@ -74,7 +74,7 @@ const updateTrackStatus = status => {
};
const
onWarning
=
message
=>
{
console
.
log
(
message
);
alert
(
message
);
};
export
default
{
...
...
This diff is collapsed.
Click to expand it.
wax-prosemirror-services/src/ImageService/ImageService.js
+
0
−
6
View file @
7172534a
...
...
@@ -2,7 +2,6 @@ import { Service } from 'wax-prosemirror-core';
import
{
imageNode
,
figureCaptionNode
,
figureNode
}
from
'
./schema
'
;
import
PlaceHolderPlugin
from
'
./plugins/placeHolderPlugin
'
;
import
captionPlugin
from
'
./plugins/captionPlugin
'
;
import
disallowPasteImagesPlugin
from
'
./plugins/disallowPasteImagesPlugin
'
;
import
Image
from
'
./Image
'
;
import
'
./image.css
'
;
import
AltComponent
from
'
./AltComponent
'
;
...
...
@@ -11,11 +10,6 @@ class ImageService extends Service {
name
=
'
ImageService
'
;
boot
()
{
// this.app.PmPlugins.add(
// 'disallowPasteImagesPlugin',
// disallowPasteImagesPlugin('disallowPasteImagesPlugin', this.app.context),
// );
this
.
app
.
PmPlugins
.
add
(
'
imagePlaceHolder
'
,
PlaceHolderPlugin
(
'
imagePlaceHolder
'
),
...
...
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