Jason's Q168: a visual editor for the Console's project documents, held to row 148's rendering rules. Library. ProseMirror with prosemirror-markdown and markdown-it, chosen in the phase 1 library report (LIBRARY.md, REPORT.md in the packet). packages/webui/third_party/editor/ holds 19 upstream packages as source, byte for byte, each with its license, plus NOTICE and PROVENANCE.json. Build. packages/webui/editor/ holds the model, view, entry and build.mjs. esbuild 0.28.2 is an exact devDependency of packages/webui with its own lock; editor/toolchain.mjs checks the version and the binary's sha256 before any build. MOSAIC_REQUIRE_EDITOR_BUILD=1 turns a missing or different esbuild into a failure, and the rebuild test then checks the committed src/public/editor.js and editor.css match a fresh build. The built bundle is committed under Mos's conditions (mos-0755, mos-0765). Console. The docs view gets Visual and Source modes. A save still writes Markdown through the existing project write path, with the same stale-base and read-only handling. A mode switch reuses the draft and reads nothing from the project. Links and images keep row 148's target rules, and no raw HTML runs. serve.mjs serves /editor.js and /editor.css; index.html loads them. Owner Researcher, brief docs/plans/2026-10-16_q168-wysiwyg-editor.md. Round 5 is a rebase ontod88613bac(row 155); only docs/TOOLS.md, webui/README.md, public/bus.js and serve.mjs differ from the round before. Reviewers on candidate manifest 3a4bc21c...3b05: Dewey (security) approve 29027, Filbert approve 29026. Mos's decision 123 go for public.diff 902f0244 (handwritten part ea59079e): mos-0824. Sage gate on72c3fa598with MOSAIC_REQUIRE_EDITOR_BUILD=1: GATE_PASSED 25/25 (node 2397, selftests 422), 22:07:29Z to 22:13:50Z; the rebuild test ran and passed. Nothing live.
103 lines
5.5 KiB
Plaintext
103 lines
5.5 KiB
Plaintext
Third-party source used by the Console editor (row 154, #1648, Q168).
|
|
|
|
The source under this directory is unmodified upstream source, imported from tagged trees by
|
|
agents/researcher/work/queue-154/repro/import-sources.mjs and described in PROVENANCE.json. Each package
|
|
below keeps its own license file next to its source; the SPDX id is the one its package.json declares.
|
|
The editor bundle src/public/editor.js is built from this source by editor/build.mjs.
|
|
|
|
prosemirror-model 1.25.12
|
|
source: https://code.haverbeke.berlin/prosemirror/prosemirror-model at hb-1.25.12 (4211aeeaa3d738454a5d1428a95c1a210e86d787)
|
|
license: MIT, prosemirror-model/LICENSE
|
|
notice: Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others
|
|
|
|
prosemirror-state 1.4.4
|
|
source: https://code.haverbeke.berlin/prosemirror/prosemirror-state at hb-1.4.4 (d6fdcd19c4f7f68206b0a8d49649860365672585)
|
|
license: MIT, prosemirror-state/LICENSE
|
|
notice: Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others
|
|
|
|
prosemirror-view 1.42.6
|
|
source: https://code.haverbeke.berlin/prosemirror/prosemirror-view at hb-1.42.6 (f5a5b93a78f6f723c1fbf1a2eec1556a022cd0ee)
|
|
license: MIT, prosemirror-view/LICENSE
|
|
notice: Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others
|
|
|
|
prosemirror-transform 1.12.2
|
|
source: https://code.haverbeke.berlin/prosemirror/prosemirror-transform at hb-1.12.2 (a93e228a10b76698e0878df2e1f881389e3a94ec)
|
|
license: MIT, prosemirror-transform/LICENSE
|
|
notice: Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others
|
|
|
|
prosemirror-inputrules 1.5.1
|
|
source: https://code.haverbeke.berlin/prosemirror/prosemirror-inputrules at hb-1.5.1 (089aa3852a55d551211af90aae2560c554ccf476)
|
|
license: MIT, prosemirror-inputrules/LICENSE
|
|
notice: Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others
|
|
|
|
prosemirror-markdown 1.13.8
|
|
source: https://code.haverbeke.berlin/prosemirror/prosemirror-markdown at hb-1.13.8 (e3a5926aa3236af2a463d824f4f22455460b008f)
|
|
license: MIT, prosemirror-markdown/LICENSE
|
|
notice: Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others
|
|
|
|
prosemirror-commands 1.7.2
|
|
source: https://code.haverbeke.berlin/prosemirror/prosemirror-commands at hb-1.7.2 (59fee8d89be2d033b28c2bac68e6736e2989bf9d)
|
|
license: MIT, prosemirror-commands/LICENSE
|
|
notice: Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others
|
|
|
|
prosemirror-history 1.5.1
|
|
source: https://code.haverbeke.berlin/prosemirror/prosemirror-history at hb-1.5.1 (44956b6a1929d7bc99aca9a8ec01c790260fa45f)
|
|
license: MIT, prosemirror-history/LICENSE
|
|
notice: Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others
|
|
|
|
prosemirror-keymap 1.2.3
|
|
source: https://code.haverbeke.berlin/prosemirror/prosemirror-keymap at hb-1.2.3 (081f24f65b6a394174a4bdf07b9a55a00361f1b7)
|
|
license: MIT, prosemirror-keymap/LICENSE
|
|
notice: Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others
|
|
|
|
prosemirror-schema-list 1.5.1
|
|
source: https://code.haverbeke.berlin/prosemirror/prosemirror-schema-list at hb-1.5.1 (e65a144f2285178a20cbdea5b0ee16925be7d6c5)
|
|
license: MIT, prosemirror-schema-list/LICENSE
|
|
notice: Copyright (C) 2015-2017 by Marijn Haverbeke <[email protected]> and others
|
|
|
|
markdown-it 14.3.3
|
|
source: https://github.com/markdown-it/markdown-it at 14.3.3 (d372f0d8a68bef0b0acaa68868ce8ae8ba85b384)
|
|
license: MIT, markdown-it/LICENSE
|
|
notice: Copyright (c) 2014 Vitaly Puzrin, Alex Kocharin.
|
|
|
|
linkify-it 5.0.2
|
|
source: https://github.com/markdown-it/linkify-it at 5.0.2 (50a0c914f834b201cab25ff4faefd1f832b37332)
|
|
license: MIT, linkify-it/LICENSE
|
|
notice: Copyright (c) 2015 Vitaly Puzrin.
|
|
|
|
uc.micro 2.1.0
|
|
source: https://github.com/markdown-it/uc.micro at 2.1.0 (d91cec10974f125be7accd4dd870900fd18fdec7)
|
|
license: MIT, uc.micro/LICENSE.txt
|
|
notice: Copyright Mathias Bynens <https://mathiasbynens.be/>
|
|
|
|
mdurl 2.1.0
|
|
source: https://github.com/markdown-it/mdurl at 2.1.0 (dd913f6290a4d8772240a401aab993eb65c5786d)
|
|
license: MIT, mdurl/LICENSE
|
|
notice: Copyright (c) 2015 Vitaly Puzrin, Alex Kocharin.
|
|
notice: Copyright Joyent, Inc. and other Node contributors. All rights reserved.
|
|
|
|
punycode.js 2.3.1
|
|
source: https://github.com/mathiasbynens/punycode.js at v2.3.1 (9e1b2cda98d215d3a73fcbfe93c62e021f4ba768)
|
|
license: MIT, punycode.js/LICENSE-MIT.txt
|
|
notice: Copyright Mathias Bynens <https://mathiasbynens.be/>
|
|
|
|
entities 4.5.0
|
|
source: https://github.com/fb55/entities at v4.5.0 (61afd4701eaa736978b13c7351cd3de9a96b04bc)
|
|
license: BSD-2-Clause, entities/LICENSE
|
|
notice: Copyright (c) Felix Böhm
|
|
|
|
orderedmap 2.1.1
|
|
source: https://github.com/marijnh/orderedmap at 2.1.1 (6a30ebbbecd30fed8bda884c7acf4ca9c6a02405)
|
|
license: MIT, orderedmap/LICENSE
|
|
notice: Copyright (C) 2016 by Marijn Haverbeke <[email protected]> and others
|
|
|
|
rope-sequence 1.3.4
|
|
source: https://github.com/marijnh/rope-sequence at 1.3.4 (11db1ba5aa2abf31ff8040bdf01fabdb9db34c7a)
|
|
license: MIT, rope-sequence/LICENSE
|
|
notice: Copyright (C) 2016 by Marijn Haverbeke <[email protected]>
|
|
|
|
w3c-keyname 2.2.8
|
|
source: https://github.com/marijnh/w3c-keyname at 2.2.8 (5ea93b04bb62230c7de4165e3a9b5c840f05cd44)
|
|
license: MIT, w3c-keyname/LICENSE
|
|
notice: Copyright (C) 2016 by Marijn Haverbeke <[email protected]> and others
|