antvis / antvis/X6

希望提供 通过实例上的方法 来 切换 预览和编辑模式

Open
#3,841 4 comments 0 reactions 0 assignees View on GitHub
feature 💡 good first issue oscp
Dominant language
TypeScript
Stars
6.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

### 功能描述

目前使用中发现,没有预览的模式,只能编辑,很多需求都是分为两种模式:编辑和预览

### 期望解决方案

目前只能通过 interacting 来设置,而这个属性只是实例化的 一个参数,不是很方便, 使用时需要重新实例化,希望提供实例方法来设置, 可以一次性把配置 插件的禁用(可选的),默认禁用所有,可传参数忽略。 希望被采纳,谢谢啦

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by tracing where the `interacting` option is read during instance construction and how plugins are enabled or disabled. Done means an instance method can switch between preview and edit modes without re-instantiation, with the requested optional plugin exceptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.