aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/RichTextSchema.tsx
diff options
context:
space:
mode:
authorab <abdullah_ahmed@brown.edu>2019-06-12 10:35:36 -0400
committerab <abdullah_ahmed@brown.edu>2019-06-12 10:35:36 -0400
commit258be09fcfa48f355751cbe99291892018a91ffc (patch)
tree6a19b41e055725fe2d836b9870d80c66939cde38 /src/client/util/RichTextSchema.tsx
parent366ac7e434be306ffd979d7f22ef50ad77fbc1eb (diff)
plus sign
Diffstat (limited to 'src/client/util/RichTextSchema.tsx')
-rw-r--r--src/client/util/RichTextSchema.tsx26
1 files changed, 13 insertions, 13 deletions
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,