mirror of
https://github.com/zadam/trilium.git
synced 2026-03-08 21:20:19 +01:00
feat(edit-docs): remove data-list-item-id
This commit is contained in:
@@ -185,6 +185,9 @@ async function exportData(noteId: string, format: ExportFormat, outputPath: stri
|
||||
return components.join("/");
|
||||
});
|
||||
|
||||
// Remove data-list-item-id created by CKEditor for lists
|
||||
content = content.replace(/ data-list-item-id="[^"]*"/g, "");
|
||||
|
||||
return content;
|
||||
|
||||
function findAttachment(targetAttachmentId: string) {
|
||||
|
||||
Reference in New Issue
Block a user