mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
7acf6f5225
commit
49e07f92f5
1 changed files with 1 additions and 0 deletions
|
@ -937,6 +937,7 @@ export const showColMenu = (protyle: IProtyle, blockElement: Element, cellElemen
|
|||
bind(element) {
|
||||
const wrapElement = element.querySelector(".b3-switch") as HTMLInputElement;
|
||||
wrapElement.addEventListener("change", () => {
|
||||
cellElement.dataset.wrap = wrapElement.checked.toString();
|
||||
transaction(protyle, [{
|
||||
action: "setAttrViewColWrap",
|
||||
id: colId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue