Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我在尝试自定义toolbar的图标,发现全屏涉及到两个icon(放大和缩小),请问怎么配置实现 #1509

Closed
subtlecooooder opened this issue Dec 10, 2023 · 1 comment

Comments

@subtlecooooder
Copy link

编辑模式

  • wysiwyg 所见即所得模式

描述问题

我在尝试自定义toolbar的图标,发现全屏涉及到两个icon(放大和缩小),请问怎么配置实现?以下是目前的配置,通过该配置已经可以替换放大icon,但是全屏后显示的缩小icon依然是默认的

{
    name: 'fullscreen',
    svg: '<svg></svg>'
}

期待的结果

可以通过配置替换全屏的放大缩小两个icon

截屏或录像

image image
@Vanessa219
Copy link
Owner

看了一下,设置 icon 后添加对应的 图标 js 文件到相应的目录下应该可以。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants