aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DictationManager.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/util/DictationManager.ts')
-rw-r--r--src/client/util/DictationManager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DictationManager.ts b/src/client/util/DictationManager.ts
index a0e1413b6..831afe538 100644
--- a/src/client/util/DictationManager.ts
+++ b/src/client/util/DictationManager.ts
@@ -349,7 +349,7 @@ export namespace DictationManager {
const head = 3;
const anchor = head + prompt.length;
const proseMirrorState = `{"doc":{"type":"doc","content":[{"type":"ordered_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"type":"text","text":"${prompt}"}]}]}]}]},"selection":{"type":"text","anchor":${anchor},"head":${head}}}`;
- proto.data = new RichTextField(proseMirrorState);
+ proto.data = new RichTextField(proseMirrorState, prompt);
proto.backgroundColor = '#eeffff';
target.props.addDocTab(newBox, OpenWhere.addRight);
},