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

涂鸦模式 #992

Open
Hufe921 opened this issue Feb 9, 2025 · 0 comments
Open

涂鸦模式 #992

Hufe921 opened this issue Feb 9, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Hufe921
Copy link
Owner

Hufe921 commented Feb 9, 2025

What problem does this feature solve?

涂鸦模式下可以在页面内划线、添加图形、文本等元素

What does the proposed API look like?

Graffiti

export enum EditorMode {
  EDIT = 'edit', // 编辑模式(文档可编辑、辅助元素均存在)
  CLEAN = 'clean', // 清洁模式(隐藏辅助元素)
  READONLY = 'readonly', // 只读模式(文档不可编辑)
  FORM = 'form', // 表单模式(仅控件内可编辑)
  PRINT = 'print', // 打印模式(文档不可编辑、隐藏辅助元素、选区、未书写控件及边框)
  DESIGN = 'design', // 设计模式(不可删除、只读等配置不控制)
  GRAFFITI = 'graffiti'
}
@Hufe921 Hufe921 added the enhancement New feature or request label Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant