mirror of
https://github.com/zadam/trilium.git
synced 2026-01-29 09:54:25 +01:00
feat(edit-docs): remove data-list-item-id
This commit is contained in:
parent
5600f1b7b1
commit
d2c6081537
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user