-
生产环境 `js` 压缩(ParallelUglifyPlugin)使用 `uglifyJS` 模式会报 `Ty is no defined`。
用了 `uglifyJS` 则不会。
推测是打包后还存在 `es6` 写法。
目前项目执行方案: 生产环境暂时不打包 | `node_modules` 的代码也经过 `babel` 转义后再压缩
-
以下是,粘贴的时候console出来的错误
```
Cannot read property 'fontFamilies' of undefined
at configs.js:457
at genFragment (convertFromHTML.js:360)
at genFragment (convertFromHTML.js:427)
at ge…
-
两个编辑器都是用 getFieldDecorator 包装的
-
https://github.com/margox/braft-editor/blob/b9f4c618725593103b26160bd266f7e02d1f6ccb/src/configs/handlers.js#L185
-
**Informations**
* Node.js version: 10.13.0
* npm version: 6.4.1
* Strapi version: 3.0.0-alpha.17
* Database: mongoDB v3.6.4
**What is the current behavior?**
I do…
-
Hi,
Great project, looks good on our app.
Few small issues with font-families array:
1. When selecting text and changing the font family, it doesn't change in the editor (it stays with the previo…
-
文档截图
![image](https://user-images.githubusercontent.com/44251801/51100722-50778980-1812-11e9-8b51-2206a1b980b4.png)
小白不具备这些知识点,1.什么是有意义的异步文件名,2.什么是路由等级 3.指定加载的组件路径又有什么用呢,我学习antd-pro项目有如下配置,是每个路由加载…
-
this is my package.json file
```json
{
"name": "admin",
"version": "1.3.0",
"description": "ant-design-pro",
"private": true,
"scripts": {
"start": "cross-env HOST=127.0.0.1 ESLI…
-
Your example says:
> import BraftEditor, { EditorState } from 'braft-editor';
but TypeScript is complaining:
> has no exported member 'EditorState'.`
And there is no updated types for new …
-
```
class EditorDemo extends React.Component {
controls = ['undo', 'redo', {
key: 'font-size',
title: 'Aa',
// text: 'B',
}, 'bold', 'italic', 'underline', 'separator', 'text-ali…