Skip to content

@openpresentation/opf-editor 0.24.2

Choose a tag to compare

@github-actions github-actions released this 20 Oct 22:07
· 15 commits to main since this release
9672a38
  • RR-98 source pane: JSON now has live completions while you type (completions: true by default; completions: false keeps the field menu only), offering the property names the schema allows at the cursor's object and the enum, boolean and catalog values of the field, from the same data as the field menu (getJsonCompletions in /json-options; mountJsonCodeEditor takes the same completions option, off by default there; Ctrl+Space still opens the field menu). When the session refuses a draft the pane lists every issue of the rejection, each with its JSON pointer path and line, instead of only the first. The code editor no longer draws the standalone editor's border and radius inside the pane frame. The editor sets aria-invalid while the findings include an error (a syntax error, a refused draft or the session's own errors) and clears it with them.