From 258be09fcfa48f355751cbe99291892018a91ffc Mon Sep 17 00:00:00 2001 From: ab Date: Wed, 12 Jun 2019 10:35:36 -0400 Subject: plus sign --- src/client/util/RichTextSchema.tsx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/client/util/RichTextSchema.tsx') diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx index a29036f19..f10188c9e 100644 --- a/src/client/util/RichTextSchema.tsx +++ b/src/client/util/RichTextSchema.tsx @@ -28,9 +28,9 @@ export const nodes: { [index: string]: NodeSpec } = { star: { inline: true, - attrs: { oldtext: { default: "suhhhh" } }, + attrs: { oldtext: { default: "" } }, group: "inline", - toDOM() { return ["star", "🟊"]; }, + toDOM() { return ["star", "㊉"]; }, parseDOM: [{ tag: "star" }] }, @@ -426,17 +426,17 @@ export class ImageResizeView { } } -export class SummarizedView { - _collapsed: HTMLElement; - _selection: any; - constructor(node: any) { - this._collapsed = document.createElement("star"); - this._collapsed.onpointerdown = function (e: any) { - console.log("star pressed!"); - }; - - } -} +// export class SummarizedView { +// _collapsed: HTMLElement; +// _selection: any; +// constructor(node: any) { +// this._collapsed = document.createElement("star"); +// this._collapsed.onpointerdown = function (e: any) { +// console.log("star pressed!"); +// }; + +// } +// } // :: Schema // This schema rougly corresponds to the document schema used by // [CommonMark](http://commonmark.org/), minus the list elements, -- cgit v1.2.3-70-g09d2