wangEditor icon indicating copy to clipboard operation
wangEditor copied to clipboard

wangEditor extension for laravel-admin

Results 17 wangEditor issues
Sort by recently updated
recently updated
newest added
trafficstars

How to Set Default Languge to English?

通过关联模型获取的富文本,无法显示

- 当form表单使用hasMany() 动态新增编辑器时,编辑器相互影响 ``` $form->hasMany('contents', '内容', function (Form\NestedForm $form) { $form->editor('content', '内容'); }); ``` - 页面显示排版错误,编辑器折叠 ![image](https://user-images.githubusercontent.com/38718383/55068233-4ac4dc80-50bc-11e9-9e7b-f4fa6a5764ae.png)

``` protected function form() { $form = new Form(new Product); $form->text('title', '商品名称'); $form->decimal('price', '商品价格'); $form->image('image', '商品图'); $form->switch('on_sale', '是否上架')->default(1); $form->switch('required_sale', '促销产品')->default(0); $form->hasMany('skus', function (Form\NestedForm $form) { $form->text('title', 'SKU名称'); $form->decimal('price', 'sku价格'); $form->text('description',...

我的解决方法: **使用js文件,代替php配置** 修改vendor/laravel-admin-ext/wang-editor/src/Editor.php中的render方法 ![image](https://user-images.githubusercontent.com/31637036/49197908-cabb8e00-f3cb-11e8-857e-d0f12d047f88.png) 配置项填上配置路径 ![image](https://user-images.githubusercontent.com/31637036/49197824-5aad0800-f3cb-11e8-9cf3-672cffb1c3dd.png) dome.js文件 ![image](https://user-images.githubusercontent.com/31637036/49197939-e4f56c00-f3cb-11e8-9bdf-9b43217e4095.png)