diff options
author | laurawilsonri <laura_wilson@brown.edu> | 2019-04-11 12:06:46 -0400 |
---|---|---|
committer | laurawilsonri <laura_wilson@brown.edu> | 2019-04-11 12:06:46 -0400 |
commit | 15514b0f3d685764d1bd7ebeac9cdee1f778e184 (patch) | |
tree | 0f9ddac2881bac4b0a15c7f460050f59bd787d08 /src/client/views/nodes/FormattedTextBox.tsx | |
parent | 74411165f21b6c616fa98e0676c6f4568c2d4564 (diff) |
font style and size dropdowns work
Diffstat (limited to 'src/client/views/nodes/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/FormattedTextBox.tsx | 7 |
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" } + } + }) ] }; |