aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/RichTextSchema.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-10-07 08:16:34 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-10-07 08:16:34 -0400
commitc7746aea51bd6891ac10f152bd8f09e5d8ddcfd9 (patch)
treedd6df5f7b51e3718161f981ca81372d1a7ba8023 /src/client/util/RichTextSchema.tsx
parentc4b4b8f8961bfd6deddd9da7e6a02990ad526c2f (diff)
initial tests
Diffstat (limited to 'src/client/util/RichTextSchema.tsx')
-rw-r--r--src/client/util/RichTextSchema.tsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx
index 1109fd292..f5749a01b 100644
--- a/src/client/util/RichTextSchema.tsx
+++ b/src/client/util/RichTextSchema.tsx
@@ -770,8 +770,15 @@ export class DashDocView {
let self = this;
this._dashSpan.onclick = function (e: any) {
FormattedTextBox.firstTarget && FormattedTextBox.firstTarget();
+ };
+ this._dashSpan.onpointermove = function (e: any) {
+ (e as any).formattedHandled = true;
+ };
+ this._dashSpan.onpointerup = function (e: any) {
e.stopPropagation();
};
+ this._dashSpan.onpointerdown = function (e: any) {
+ };
this._dashSpan.onkeydown = function (e: any) { e.stopPropagation(); };
this._dashSpan.onkeypress = function (e: any) { e.stopPropagation(); };
this._dashSpan.onkeyup = function (e: any) { e.stopPropagation(); };