opentiny / opentiny/tiny-editor
✨ [Feature]: 图片支持放大预览
Open
Nobody has claimed this yet.
enhancement
welcome pr
- Dominant language
- TypeScript
- Stars
- 535
- Forks
- 71
- Avg merge
- 6h 50m
- Merged PRs (30d)
- 2
Description
What problem does this feature solve
双击图片或者点击图片右上角的按钮,可以放大预览图片,效果类似以下(参考语雀,组件可以使用 TinyVue 的 Image 组件):
What does the proposed API look like
如上
What is your project name
Wiki
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the editor's existing image handling and the TinyVue Image component's preview documentation linked in the issue. Implement double-click and top-right-button preview behavior for images, then verify that the preview matches the provided examples and works in the Wiki editor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100