diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 73c2d77f04..dc735a577d 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -7,6 +7,8 @@ on: jobs: gh-pages: runs-on: ubuntu-latest + permissions: + contents: write strategy: matrix: node-version: [20.x] diff --git a/package.json b/package.json index 7d9f730e05..f261f8d7d0 100644 --- a/package.json +++ b/package.json @@ -134,6 +134,7 @@ "@jsonjoy.com/util": "^1.4.0", "arg": "^5.0.2", "hyperdyperid": "^1.2.0", + "nano-css": "^5.6.2", "sonic-forest": "^1.0.3", "thingies": "^2.1.1", "tree-dump": "^1.0.2", @@ -155,7 +156,7 @@ "json-crdt-traces": "https://github.com/streamich/json-crdt-traces#ec825401dc05cbb74b9e0b3c4d6527399f54d54d", "json-logic-js": "^2.0.2", "nano-theme": "^1.4.3", - "nice-ui": "^1.18.0", + "nice-ui": "^1.25.0", "quill-delta": "^5.1.0", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/src/json-crdt-extensions/peritext/slice/constants.ts b/src/json-crdt-extensions/peritext/slice/constants.ts index f779bda965..1738d5bbc7 100644 --- a/src/json-crdt-extensions/peritext/slice/constants.ts +++ b/src/json-crdt-extensions/peritext/slice/constants.ts @@ -62,11 +62,13 @@ export const enum SliceTypeCon { bg = -18, // kbd = -19, // hidden = -20, // - footnote = -21, // or with href="#footnote-..." and title="Footnote ..." - ref = -22, // with href="#ref-..." and title="Reference ..." (Reference to some element in the document) - iaside = -23, // Inline