Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Dec 9, 2025

Backport of #8002

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Forward port of https://github.com/nextcloud/text/pull/8028/commits

silverkszlo and others added 7 commits December 10, 2025 10:19
Add createTable() API to enable embedding markdown tables in other apps
without rich text editing features. Introduces PlainTableDocument node
that restricts content to tables only, and PlainTable extension that
bundles required functionality (table editing, markdown serialization).

- Add PlainTableDocument node with table-only content model
- Add PlainTable extension (bundles Markdown, EditableTable, etc.)
- Add PlainTableContentEditor.vue component
- Expose window.OCA.Text.createTable() API in editor.js
- Export PlainTable from extensions/index.js

Signed-off-by: silver <s.szmajduch@posteo.de>
Signed-off-by: silver <s.szmajduch@posteo.de>
Signed-off-by: silver <s.szmajduch@posteo.de>
Signed-off-by: silver <s.szmajduch@posteo.de>
Signed-off-by: silver <s.szmajduch@posteo.de>
Signed-off-by: silver <s.szmajduch@posteo.de>

[skip ci]
Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com>
@juliusknorr juliusknorr force-pushed the backport/8002/stable30 branch from 9445159 to dd6ef1a Compare December 10, 2025 09:19
Signed-off-by: silver <s.szmajduch@posteo.de>
@silverkszlo silverkszlo force-pushed the backport/8002/stable30 branch from 795ab14 to 988b890 Compare December 11, 2025 10:51
@codecov
Copy link

codecov bot commented Dec 11, 2025

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/extensions/PlainTable.js 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@silverkszlo silverkszlo marked this pull request as ready for review December 11, 2025 11:35
@silverkszlo silverkszlo merged commit 2c161b2 into stable30 Dec 11, 2025
60 of 63 checks passed
@silverkszlo silverkszlo deleted the backport/8002/stable30 branch December 11, 2025 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants