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

add atom as option

parent a141447a
No related branches found
No related tags found
1 merge request!117Current features fixes
......@@ -68,7 +68,7 @@ export default props => {
view.updateState(state);
/*when a transaction comes from a view other than
main don't keep updating the view ,as this this
main don't keep updating the view ,as this is
the central point of each transaction
*/
if (!transaction.getMeta("outsideView")) {
......
//TODO Write the node in WaxSchema
const footnote = {
group: "inline",
content: "inline*",
......
......@@ -6,11 +6,12 @@ export default class Node {
name = "";
importer = {};
isolating = false;
atom = false;
inline = false;
isolating = false;
draggable = false;
group = "";
content = "";
draggable = false;
_attrs = {};
_parseRules = [];
......@@ -57,6 +58,7 @@ export default class Node {
const importer = this.importer;
return {
atom: this.atom,
inline: this.inline,
group: this.group,
content: this.content,
......
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