Skip to content

新特性建议:可指定各参数默认值 #21

Open
@holwell

Description

@holwell

即在引用组件时,可以指定图片、标题、介绍的默认参数值。

两个应用场景:

  1. 解析部分网站的 icon 时会出错,也有可能压根就没有,这时候就会影响整体一致性的观感,尤其是使用。
  2. 自定义标签。有时候你的需求可能就是单纯想使用卡片组件的形式添加一个自定义链接,这时候很有用。

特性建议:

在插件设置处提供一个默认的图片设置项,同时也允许在 Hyperlink 组件添加图片、标题、介绍三个参数项,再根据优先级生成最终值。

Activity

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

    Issue actions