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
Merge requests
!289
Pm node views portals
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Pm node views portals
pm-node-views-portals
into
master
Overview
0
Commits
55
Pipelines
0
Changes
78
Merged
Christos
requested to merge
pm-node-views-portals
into
master
3 years ago
Overview
0
Commits
55
Pipelines
0
Changes
9
Expand
0
0
Merge request reports
Viewing commit
e15a617a
Prev
Next
Show latest version
9 files
+
1017
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
9
Search (e.g. *.vue) (Ctrl+P)
e15a617a
hhmi initial config/layout/theme
· e15a617a
chris
authored
3 years ago
editors/demo/src/HHMI/config/config.js
+
126
−
0
Options
import
{
emDash
,
ellipsis
}
from
'
prosemirror-inputrules
'
;
import
{
debounce
}
from
'
lodash
'
;
import
{
columnResizing
,
tableEditing
}
from
'
prosemirror-tables
'
;
import
{
InlineAnnotationsService
,
AnnotationToolGroupService
,
ImageService
,
ImageToolGroupService
,
LinkService
,
ListsService
,
ListToolGroupService
,
TablesService
,
TableToolGroupService
,
BaseService
,
BaseToolGroupService
,
DisplayBlockLevelService
,
DisplayToolGroupService
,
TextBlockLevelService
,
TextToolGroupService
,
NoteService
,
NoteToolGroupService
,
TrackChangeService
,
CommentsService
,
CodeBlockService
,
CodeBlockToolGroupService
,
DisplayTextToolGroupService
,
MathService
,
FindAndReplaceService
,
EditingSuggestingService
,
TrackingAndEditingToolGroupService
,
FullScreenService
,
FullScreenToolGroupService
,
SpecialCharactersService
,
SpecialCharactersToolGroupService
,
HighlightService
,
TextHighlightToolGroupServices
,
EditorInfoToolGroupServices
,
BottomInfoService
,
TransformService
,
TransformToolGroupService
,
TrackOptionsToolGroupService
,
TrackCommentOptionsToolGroupService
,
CustomTagInlineToolGroupService
,
CustomTagBlockToolGroupService
,
CustomTagService
,
}
from
'
wax-prosemirror-services
'
;
import
{
DefaultSchema
}
from
'
wax-prosemirror-utilities
'
;
import
{
WaxSelectionPlugin
}
from
'
wax-prosemirror-plugins
'
;
import
invisibles
,
{
space
,
hardBreak
,
paragraph
,
}
from
'
@guardian/prosemirror-invisibles
'
;
export
default
{
MenuService
:
[
{
templateArea
:
'
mainMenuToolBar
'
,
toolGroups
:
[
'
Base
'
,
{
name
:
'
Annotations
'
,
more
:
[
'
Superscript
'
,
'
Subscript
'
,
'
SmallCaps
'
,
'
Underline
'
,
'
StrikeThrough
'
,
],
},
'
HighlightToolGroup
'
,
'
TransformToolGroup
'
,
'
Lists
'
,
'
Images
'
,
'
SpecialCharacters
'
,
'
Tables
'
,
'
FullScreen
'
,
],
},
],
SchemaService
:
DefaultSchema
,
RulesService
:
[
emDash
,
ellipsis
],
PmPlugins
:
[
columnResizing
(),
tableEditing
(),
invisibles
([
hardBreak
()]),
WaxSelectionPlugin
,
],
services
:
[
new
DisplayBlockLevelService
(),
new
DisplayToolGroupService
(),
new
TextBlockLevelService
(),
new
TextToolGroupService
(),
new
ListsService
(),
new
LinkService
(),
new
InlineAnnotationsService
(),
new
ImageService
(),
new
TablesService
(),
new
BaseService
(),
new
BaseToolGroupService
(),
new
TableToolGroupService
(),
new
ImageToolGroupService
(),
new
AnnotationToolGroupService
(),
new
ListToolGroupService
(),
// new CodeBlockService(),
// new CodeBlockToolGroupService(),
new
DisplayTextToolGroupService
(),
new
MathService
(),
new
FullScreenService
(),
new
FullScreenToolGroupService
(),
new
SpecialCharactersService
(),
new
SpecialCharactersToolGroupService
(),
new
HighlightService
(),
new
TextHighlightToolGroupServices
(),
new
EditorInfoToolGroupServices
(),
new
BottomInfoService
(),
new
TransformService
(),
new
TransformToolGroupService
(),
],
};