aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/FormattedTextBox.tsx
diff options
context:
space:
mode:
authorlaurawilsonri <laura_wilson@brown.edu>2019-04-11 12:06:46 -0400
committerlaurawilsonri <laura_wilson@brown.edu>2019-04-11 12:06:46 -0400
commit15514b0f3d685764d1bd7ebeac9cdee1f778e184 (patch)
tree0f9ddac2881bac4b0a15c7f460050f59bd787d08 /src/client/views/nodes/FormattedTextBox.tsx
parent74411165f21b6c616fa98e0676c6f4568c2d4564 (diff)
font style and size dropdowns work
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
-rw-r--r--src/client/views/nodes/FormattedTextBox.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx
index e59179874..fdb1b97be 100644
--- a/src/client/views/nodes/FormattedTextBox.tsx
+++ b/src/client/views/nodes/FormattedTextBox.tsx
@@ -74,7 +74,12 @@ export class FormattedTextBox extends React.Component<FieldViewProps> {
history(),
keymap({ "Mod-z": undo, "Mod-y": redo }),
keymap(baseKeymap),
- this.tooltipMenuPlugin()
+ this.tooltipMenuPlugin(),
+ new Plugin({
+ props: {
+ attributes: { class: "ProseMirror-example-setup-style" }
+ }
+ })
]
};