diff options
author | bob <bcz@cs.brown.edu> | 2019-07-17 16:52:28 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-07-17 16:52:28 -0400 |
commit | 3e6722328fd1adf6aef66040b0f4ef0d5e61f9d0 (patch) | |
tree | b7ea3c5782930f1a7174ba1fe4418aad394fde79 /src | |
parent | 33ba82d031266e87b6915de9f84bef2d914c2ae5 (diff) |
fixed creating templates of text nodes.
Diffstat (limited to 'src')
-rw-r--r-- | src/new_fields/Doc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_fields/Doc.ts b/src/new_fields/Doc.ts index 1dd721396..769c6aa73 100644 --- a/src/new_fields/Doc.ts +++ b/src/new_fields/Doc.ts @@ -418,6 +418,6 @@ export namespace Doc { fieldTemplate.nativeHeight = nh; fieldTemplate.isTemplate = true; fieldTemplate.showTitle = "title"; - fieldTemplate.proto = proto; + setTimeout(() => fieldTemplate.proto = proto); } }
\ No newline at end of file |