Skip to content

Commit a6ee348

Browse files
committed
1 parent d44b4fb commit a6ee348

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

3-
## 0.3.5 2024-03
3+
## 0.3.5 2024-04-30
4+
5+
* [Add `direction` to plugin method `Setting.addItem`](https://github.com/siyuan-note/siyuan/issues/11183)
46

57
## 0.3.4 2024-02-20
68

src/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ export default class PluginSample extends Plugin {
169169
});
170170
this.setting.addItem({
171171
title: "Readonly text",
172+
direction: "row",
173+
description: "Open plugin url in browser",
172174
createActionElement: () => {
173175
textareaElement.className = "b3-text-field fn__block";
174176
textareaElement.placeholder = "Readonly text in the menu";

0 commit comments

Comments
 (0)