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
4405fb8c
Commit
4405fb8c
authored
2 years ago
by
chris
Browse files
Options
Downloads
Patches
Plain Diff
add schema
parent
53746552
No related branches found
No related tags found
1 merge request
!405
Oen aside
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
wax-prosemirror-schema/src/nodes/oenNodes/OenAsideNode.js
+29
-0
29 additions, 0 deletions
wax-prosemirror-schema/src/nodes/oenNodes/OenAsideNode.js
wax-prosemirror-schema/src/nodes/oenNodes/index.js
+2
-0
2 additions, 0 deletions
wax-prosemirror-schema/src/nodes/oenNodes/index.js
with
31 additions
and
0 deletions
wax-prosemirror-schema/src/nodes/oenNodes/OenAsideNode.js
0 → 100644
+
29
−
0
View file @
4405fb8c
const
OenAsideNode
=
{
content
:
'
block+
'
,
group
:
'
block
'
,
attrs
:
{
class
:
{
default
:
''
},
},
defining
:
true
,
parseDOM
:
[
{
tag
:
'
aside
'
,
getAttrs
(
dom
)
{
return
{
class
:
dom
.
getAttribute
(
'
class
'
),
};
},
},
],
toDOM
(
node
)
{
return
[
'
aside
'
,
{
class
:
node
.
attrs
.
class
,
},
0
,
];
},
};
export
default
OenAsideNode
;
This diff is collapsed.
Click to expand it.
wax-prosemirror-schema/src/nodes/oenNodes/index.js
+
2
−
0
View file @
4405fb8c
import
OenAsideNode
from
'
./OenAsideNode
'
;
import
OenContainerNode
from
'
./OenContainerNode
'
;
import
OenContainerNode
from
'
./OenContainerNode
'
;
import
OenSectionNode
from
'
./OenSectionNode
'
;
import
OenSectionNode
from
'
./OenSectionNode
'
;
export
default
{
export
default
{
oen_container
:
OenContainerNode
,
oen_container
:
OenContainerNode
,
oen_section
:
OenSectionNode
,
oen_section
:
OenSectionNode
,
oen_aside
:
OenAsideNode
,
};
};
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