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

create a default Schema containing a paragraph

parent 45c61edd
No related branches found
No related tags found
1 merge request!5Develop
const pDOM = ["p", 0];
const defaultSchema = {
doc: {
content: "block+"
},
paragraph: {
content: "inline*",
group: "block",
parseDOM: [{ tag: "p" }],
toDOM() {
return pDOM;
}
}
};
export default defaultSchema;
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