diff options
author | bobzel <zzzman@gmail.com> | 2023-08-16 13:29:07 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-08-16 13:29:07 -0400 |
commit | ad74cd03fa38a66101331ac0d3ea6cda841e3eee (patch) | |
tree | 525f6cfe450fcd8cad4b61092dbe45355e85a41a /src/client/util/CurrentUserUtils.ts | |
parent | 372face940712d239d48f9884ded34d82d170a94 (diff) |
got rid of presElementBox instances in favor of a single global instance. allowed docs to be their own view specs.
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r-- | src/client/util/CurrentUserUtils.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts index c9a5175bb..b5c1bb4c4 100644 --- a/src/client/util/CurrentUserUtils.ts +++ b/src/client/util/CurrentUserUtils.ts @@ -163,7 +163,6 @@ export class CurrentUserUtils { /// Initializes collection of templates for notes and click functions static setupDocTemplates(doc: Doc, field="myTemplates") { - DocUtils.AssignDocField(doc, "presElement", opts => Docs.Create.PresElementBoxDocument(), { }); const templates = [ CurrentUserUtils.setupNoteTemplates(doc), CurrentUserUtils.setupClickEditorTemplates(doc) |