Git Product home page Git Product logo

Comments (3)

jia000 avatar jia000 commented on May 23, 2024

formConfig里设置disable: true

其他公共的配置需要通过propsService去设置

from tmagic-editor.

joey127yao avatar joey127yao commented on May 23, 2024

可能我没描述清楚,想要的是编辑器 如果组件是 Page的情况下,不给设置各个属性以及拖拽。右侧栏目的属性面板禁用状态,数据不给修改。
目前根据你的建议,去配置了disabled, 右侧栏目的属性面板确实可以禁用,但是编辑器容器的拖拽问题还是会修改 属性的宽度大小,有办法解决吗?

期望效果:
当组件是Page的时候,没有拖拽框 + 属性面板的样式模块是禁用状态

image image

from tmagic-editor.

jia000 avatar jia000 commented on May 23, 2024

拖拽可以通过moveableOptions prop去控制,文档里有示例

from tmagic-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.