Comments (6)
只要不渲染,是不会去加载monaco-editor相关的的js资源的
from tmagic-editor.
代码编辑的频率高不高取决于业务,如果业务到后期是会有需要配置函数这种需求的,会需要在编辑器中写代码
from tmagic-editor.
但是貌似还是把代码打包到vendor里面了(还是我打包的姿势不对?),并且浏览器要一起下载,不管有没有渲染,页面加载比较慢影响用户体验。另外配置函数这种需求,一般都是简单的逻辑,感觉暂时不需要monaco-editor这么重量级的产品~,而且她还包含各种语言支持。
from tmagic-editor.
是会把monaco-editor的基础代码打进去,语言支持相关的代码是用到时才加载的
from tmagic-editor.
后续改成整个monaco-editor动态加载,不需要可以不加载的模式
from tmagic-editor.
不支持了
from tmagic-editor.
Related Issues (20)
- 是否可以加入更改标尺背景色、文字颜色等的配置选项 HOT 2
- 编辑区拖动组件顶部三个点位,实现放大缩小时位置错乱 HOT 4
- 设计状态 如何实现表格右键事件?现在设计状态外层遮盖了 iframe内部组件的右键事件? HOT 1
- 自定义组件在tmagic-editor项目中正常运行,但是runtime打包后放到tmagic-admin项目中后无法正常显示。 HOT 4
- 组件添加粗一点的边框后resize操作 选中样式没有和组件本身对齐
- 关于组件多次点击下一层,层级错乱的问题
- 请教下编辑器扩展-定制属性配置这块的问题 HOT 7
- 你好,想问一下id是怎么生成的,和提供的时间接口是v2哪个吗 HOT 11
- formConfig中的值可以根据另一个动态变化吗? HOT 3
- form中的table使用page-fragment-select进行选择时,runtime的props中的config不会改变 HOT 12
- tmagic-editor多语言 HOT 1
- 关于自定义组件的导入问题 HOT 6
- page-fragment-container不能监听到props改变 HOT 4
- request to https://registry.npm.taobao.org/pnpm failed, reason: certificate has expired HOT 1
- [Bug] TMagicPopover 在 TDesign 下使用异常,进而导致表单的输入框渲染异常
- getPropsValue 获取指定类型的组件初始值
- 开发一个新组件,在新组件内部需要修改formConfig的某个属性,这个是使用什么方法可以完成 HOT 4
- getTargetElement 是否可以不抛出错误,或者用 console.warn 警告吗
- 开发一个文本编辑组件,怎么接收到双击事件进入文本编辑状态,而且在这个编辑状态可以相应鼠标选中文本,定位光标操作 HOT 2
- 文档这部分缺失了
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmagic-editor.