diff options
author | bobzel <zzzman@gmail.com> | 2023-04-17 15:19:13 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-04-17 15:19:13 -0400 |
commit | 2c154f328d6556d99f21a778c8d78b41de77f5c9 (patch) | |
tree | 200607bf64a0be390e62121aa023e1f255e2ea12 /src/fields/Doc.ts | |
parent | 3c8cb517c811f94dce1e3d8430e07af316642365 (diff) | |
parent | 57983d95ceeb364e3e0a282daea13035114ddb3f (diff) |
Merge branch 'master' into advanced-trails
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r-- | src/fields/Doc.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index 662792ff0..6c808c145 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -96,6 +96,7 @@ export const HighlightSym = Symbol('Highlight'); export const DataSym = Symbol('Data'); export const LayoutSym = Symbol('Layout'); export const FieldsSym = Symbol('Fields'); +export const CssSym = Symbol('Css'); export const AclSym = Symbol('Acl'); export const DirectLinksSym = Symbol('DirectLinks'); export const AclUnset = Symbol('AclUnset'); @@ -341,6 +342,7 @@ export class Doc extends RefField { @observable private ___fieldKeys: any = {}; /// all of the raw acl's that have been set on this document. Use GetEffectiveAcl to determine the actual ACL of the doc for editing @observable public [AclSym]: { [key: string]: symbol } = {}; + @observable public [CssSym]: number = 0; // incrementer denoting a change to CSS layout @observable public [DirectLinksSym]: Set<Doc> = new Set(); @observable public [AnimationSym]: Opt<Doc>; @observable public [HighlightSym]: boolean = false; |