Skip to content

✨ [Feature]: 希望图片伸缩可以支持设置最小宽高 #386

@kagol

Description

@kagol

What problem does this feature solve

目前图片最小只能缩小到 40*40,有点局限,有些业务希望图片更小一些,希望能自定义图片能缩小到的最小宽高。

Image

What does the proposed API look like

期望 API(如果有会更好的 API 设计也可以一起讨论):

new TinyEditor({
  modules: {
    image: {
      minWidth: '10px',
      minHeight: '10px'
    }
  }
})

What is your project name

Wiki

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions