Skip to content

数据库模板编辑器 #11080

Closed
Closed
@TCOTC

Description

@TCOTC
Contributor

In what scenarios do you need this feature?

编辑模板时基本做不到一次成功,每次输入的时候都要拖动单元格,过程真的相当繁琐

Describe the optimal solution

为数据库模板列编辑提供专门的浮窗

  • 钉住 按钮:默认不钉住,点击浮窗外的区域会保存模板、关闭浮窗
  • .action{} 按钮:在光标处插入一个 ".action{ }"
  • 刷新 按钮:保存模板、刷新数据库状态,用于测试模板
  • 确定 按钮:保存模板、关闭浮窗
  • 编辑界面:给个代码块的界面最好,有行号和语法高亮,还能 Enter 换行、Tab 缩进
  • 浮窗标题:可以显示数据库名和对应的模板字段名

随手画个大概:

image

入口大概可以放在这里:

image

Describe the candidate solution

No response

Other information

关联:https://ld246.com/article/1713408840978/comment/1713421218612#comments

Activity

LGRemdo

LGRemdo commented on Apr 22, 2024

@LGRemdo

开发者可以参考飞书对于公式的编辑

TCOTC

TCOTC commented on Apr 22, 2024

@TCOTC
ContributorAuthor

飞书的两个编辑器好高级啊

image

image

LGRemdo

LGRemdo commented on Apr 23, 2024

@LGRemdo

飞书的两个编辑器好高级啊

image

image

图片右下角那个放大,到一个界面,才高级。而且真正编辑字段,是有特殊高亮的。

TCOTC

TCOTC commented on Apr 23, 2024

@TCOTC
ContributorAuthor

图片右下角那个放大,到一个界面,才高级。而且真正编辑字段,是有特殊高亮的。

image

changed the title [-]为数据库模板列编辑提供专门的浮窗[/-] [+]为数据库模板列编辑提供专门的编辑器[/+] on Apr 25, 2024
changed the title [-]为数据库模板列编辑提供专门的编辑器[/-] [+]数据库模板编辑器[/+] on Apr 26, 2024
changed the title [-]数据库模板编辑器[/-] [+]✨数据库模板编辑器[/+] on Aug 10, 2024
changed the title [-]✨数据库模板编辑器[/-] [+]数据库模板编辑器[/+] on Aug 11, 2024
88250

88250 commented on May 30, 2025

@88250
Member

按目前的开发资源看是不可能实现了,以后如果有资源再考虑重开吧。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @88250@LGRemdo@TCOTC

        Issue actions

          数据库模板编辑器 · Issue #11080 · siyuan-note/siyuan