Preserve QWord strikethrough formatting

This commit is contained in:
Курнат Андрей
2026-06-01 07:14:24 +03:00
parent 5a968dea72
commit ea26f5c55d
5 changed files with 63 additions and 3 deletions
+4
View File
@@ -14,6 +14,7 @@ import {
PaintBucket,
Pilcrow,
Save,
Strikethrough,
Type,
Underline
} from "lucide-react";
@@ -268,6 +269,9 @@ export function QWord({ document, onChange }: QWordProps) {
<button type="button" onClick={() => runCommand("underline")} title="Подчеркнутый">
<Underline size={16} />
</button>
<button type="button" onClick={() => runCommand("strikeThrough")} title="Зачеркнутый" aria-label="Зачеркнутый">
<Strikethrough size={16} />
</button>
<button type="button" onClick={() => runCommand("insertUnorderedList")} title="Маркированный список">
<List size={16} />
</button>