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
7eb553c0
Commit
7eb553c0
authored
1 year ago
by
chris
Browse files
Options
Downloads
Patches
Plain Diff
cleanup configs
parent
fa57d18a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
editors/demo/src/Editoria/config/config.js
+13
-12
13 additions, 12 deletions
editors/demo/src/Editoria/config/config.js
editors/demo/src/HHMI/config/config.js
+6
-6
6 additions, 6 deletions
editors/demo/src/HHMI/config/config.js
with
19 additions
and
18 deletions
editors/demo/src/Editoria/config/config.js
+
13
−
12
View file @
7eb553c0
...
...
@@ -43,10 +43,10 @@ import {
CustomTagInlineToolGroupService
,
CustomTagBlockToolGroupService
,
CustomTagService
,
YjsService
,
disallowPasteImagesPlugin
,
BlockDropDownToolGroupService
,
TitleToolGroupService
,
// YjsService,
// BlockDropDownToolGroupService,
// TitleToolGroupService,
}
from
'
wax-prosemirror-services
'
;
import
{
EditoriaSchema
}
from
'
wax-prosemirror-core
'
;
...
...
@@ -85,8 +85,8 @@ export default {
templateArea
:
'
mainMenuToolBar
'
,
toolGroups
:
[
'
Base
'
,
'
BlockDropDown
'
,
'
TitleTool
'
,
//
'BlockDropDown',
//
'TitleTool',
{
name
:
'
Annotations
'
,
more
:
[
...
...
@@ -102,6 +102,7 @@ export default {
'
CustomTagInline
'
,
'
Notes
'
,
'
Lists
'
,
'
Images
'
,
'
SpecialCharacters
'
,
'
CodeBlock
'
,
'
Tables
'
,
...
...
@@ -109,10 +110,10 @@ export default {
'
FullScreen
'
,
],
},
//
{
//
templateArea: 'leftSideBar',
//
toolGroups: ['DisplayText'],
//
},
{
templateArea
:
'
leftSideBar
'
,
toolGroups
:
[
'
DisplayText
'
],
},
{
templateArea
:
'
commentTrackToolBar
'
,
toolGroups
:
[
'
TrackCommentOptions
'
],
...
...
@@ -176,9 +177,9 @@ export default {
// },
services
:
[
new
TitleToolGroupService
(),
//
new TitleToolGroupService(),
// new YjsService(),
new
BlockDropDownToolGroupService
(),
//
new BlockDropDownToolGroupService(),
new
CustomTagService
(),
new
DisplayBlockLevelService
(),
new
DisplayToolGroupService
(),
...
...
@@ -202,7 +203,7 @@ export default {
new
CodeBlockService
(),
new
CodeBlockToolGroupService
(),
new
EditingSuggestingService
(),
//
new DisplayTextToolGroupService(),
new
DisplayTextToolGroupService
(),
new
MathService
(),
new
FindAndReplaceService
(),
new
TrackingAndEditingToolGroupService
(),
...
...
This diff is collapsed.
Click to expand it.
editors/demo/src/HHMI/config/config.js
+
6
−
6
View file @
7eb553c0
...
...
@@ -22,7 +22,7 @@ import {
EssayService
,
MatchingService
,
MultipleDropDownService
,
ExternalAPIContentService
,
//
ExternalAPIContentService,
}
from
'
wax-prosemirror-services
'
;
import
{
DefaultSchema
}
from
'
wax-prosemirror-core
'
;
...
...
@@ -113,7 +113,7 @@ export default {
'
Lists
'
,
'
Images
'
,
'
Tables
'
,
'
ExternalAPIContent
'
,
//
'ExternalAPIContent',
'
QuestionsDropDown
'
,
'
FullScreen
'
,
],
...
...
@@ -127,9 +127,9 @@ export default {
toolGroups
:
[
'
MultipleDropDown
'
],
},
],
ExternalAPIContentService
:
{
ExternalAPIContentTransformation
:
ExternalAPIContentTransformation
,
},
//
ExternalAPIContentService: {
//
ExternalAPIContentTransformation: ExternalAPIContentTransformation,
//
},
SchemaService
:
DefaultSchema
,
RulesService
:
[
emDash
,
ellipsis
],
...
...
@@ -137,7 +137,7 @@ export default {
PmPlugins
:
[
columnResizing
(),
tableEditing
(),
invisibles
([
hardBreak
()])],
services
:
[
new
ExternalAPIContentService
(),
//
new ExternalAPIContentService(),
new
MatchingService
(),
new
FillTheGapQuestionService
(),
new
MultipleChoiceQuestionService
(),
...
...
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