Skip to content
Snippets Groups Projects
Commit af06685d authored by Giannis Kopanas's avatar Giannis Kopanas
Browse files

fix(schema): order of loading nodes

parent 044e1987
No related branches found
No related tags found
1 merge request!45Develop
const blockLevelToDOM = node => {
const attrs = node.attrs.track.length
? {
class: node.attrs.class,
"data-track": JSON.stringify(node.attrs.track)
}
: { class: node.attrs.class };
return attrs;
};
export default { export default {
nodes: { nodes: {
doc: { doc: {
......
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