mirror of
https://github.com/itflow-org/itflow
synced 2026-12-02 00:59:03 +00:00
Documents in Markdown: a document can be written in Markdown with Write and Preview or in the rich text editor and switched either way, pictures pasted or dropped into the Markdown are kept as files, New Document starts in the way last used, Import Markdown Files beside Upload makes a document from each .md file, a Markdown button beside PDF downloads a document as a .md file, and Markdown pasted into a document's rich text editor goes in as formatting; versions, restore, copy and the API carry the Markdown, and the API's document create and update no longer escape values twice; database 4.2.3 adds documents.document_markdown and document_versions.document_version_markdown, and league/commonmark 2.10 and league/html-to-markdown 5.2 are added to libs/vendor through composer; 26.12.3 changelog entries
This commit is contained in:
2
db.sql
2
db.sql
@@ -1633,6 +1633,7 @@ CREATE TABLE `document_versions` (
|
||||
`document_version_name` varchar(200) NOT NULL,
|
||||
`document_version_description` text DEFAULT NULL,
|
||||
`document_version_content` longtext NOT NULL,
|
||||
`document_version_markdown` longtext DEFAULT NULL,
|
||||
`document_version_created_by` int(11) DEFAULT 0,
|
||||
`document_version_created_at` datetime NOT NULL,
|
||||
`document_version_document_id` int(11) NOT NULL,
|
||||
@@ -1653,6 +1654,7 @@ CREATE TABLE `documents` (
|
||||
`document_description` text DEFAULT NULL,
|
||||
`document_content` longtext NOT NULL,
|
||||
`document_content_raw` longtext NOT NULL,
|
||||
`document_markdown` longtext DEFAULT NULL,
|
||||
`document_client_visible` int(11) NOT NULL DEFAULT 1,
|
||||
`document_favorite` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`document_created_at` datetime NOT NULL DEFAULT current_timestamp(),
|
||||
|
||||
Reference in New Issue
Block a user