gaea-editor icon indicating copy to clipboard operation
gaea-editor copied to clipboard

Design websites in your browser. A smart web editor!

Results 16 gaea-editor issues
Sort by recently updated
recently updated
newest added

* node: v8.5.0 * npm : v6.1.0 * "react": "^16.5.2", * "gaea-editor": "^2.3.15", 使用create-react-app-ts创建的ts项目,npm install gaea-editor后,index文件引入gaea-editor,npm start报错 > index.tsx ``` import Editor from 'gaea-editor'; ReactDOM.render( , document.getElementById('root') as HTMLElement );...

``` preComponents={[{ gaeaKey: "antd-layout", components:[{ name: 'ant-button', props: { text: '123' } },{ name: 'ant-row', props: { } }] }]} ``` 如上面所示,在preComponents配置了下,只是在左边菜单去掉了ant-layout, 多出来两个row和button,然后拖拽进去的还是layout,不知道这个配置有啥用? 另外我有个需求是,比如antd的layout,我想通过配置把header 和sider footer content 展示出来,能否在layout的动态添加上这些挂件之后,把她们在layout内部搞成一个container呢?

启动起来之后,报个错 ``` Uncaught ReferenceError: Save is not defined at Module../src/plugins/view-mode/index.tsx (main.ceba.js:37295) at __webpack_require__ (main.ceba.js:732) at fn (main.ceba.js:109) at Module../src/gaea-editor.component.tsx (main.ceba.js:29590) at __webpack_require__ (main.ceba.js:732) at fn (main.ceba.js:109) at Module../src/index.tsx (main.ceba.js:29808) at...

![bug](https://user-images.githubusercontent.com/13343726/46590376-58be7b00-cae5-11e8-981d-29044e1d60bf.gif)

bug

![83ddd598-9d22-48ff-a60c-6c0b0d238498](https://user-images.githubusercontent.com/15337429/45201704-eb7eb680-b2a8-11e8-8275-4f70085133b2.png)

比如, 我添加了一个组件, 如何即时获取当前uiData(onSave event里面传入的那个ui component 数据)?