Skip to content
Snippets Groups Projects
Commit c06527be authored by chris's avatar chris
Browse files

create some of the node files

parent a2446cd9
No related branches found
No related tags found
1 merge request!45Develop
Showing
with 19 additions and 10 deletions
......@@ -14,6 +14,17 @@ export { default as superscriptMark } from "./src/marks/superscriptMark";
export { default as strikethroughMark } from "./src/marks/strikethroughMark";
export { default as underlineMark } from "./src/marks/underlineMark";
export { default as smallcapsMark } from "./src/marks/smallcapsMark";
export { default as sourceMark } from "./src/marks/sourceMark";
/*
LIST OF SUPPORTED NODES
*/
export { default as paragraphNode } from "./src/nodes/paragraphNode";
export { default as authorNode } from "./src/nodes/authorNode";
export { default as epigraphPoetryNode } from "./src/nodes/epigraphPoetryNode";
export { default as epigraphProseNode } from "./src/nodes/epigraphProseNode";
export { default as sourceNoteNode } from "./src/nodes/sourceNoteNode";
export { default as paragraphContNode } from "./src/nodes/paragraphContNode";
export { default as extractProseNode } from "./src/nodes/extractProseNode";
export { default as extractPoetryNode } from "./src/nodes/extractPoetryNode";
export { default as titleNode } from "./src/nodes/titleNode";
const emDOM = ["em", 0],
strongDOM = ["strong", 0],
codeDOM = ["code", 0];
const marks = {
source: {
parseDOM: [{ tag: "cite" }],
toDOM() {
return ["cite", 0];
}
},
insertion: {
attrs: {
user: {
......
const source = {
parseDOM: [{ tag: "cite" }],
toDOM() {
return ["cite", 0];
}
};
export default source;
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment