-
-
正常跑lint是没有错误的,但commit时就会报错
```
[error] src\index.ejs: SyntaxError: Unexpected token (1:2)
[error] > 1 |
[error] | ^
[error] 2 |
[error] 3 |
[error] 4 |
25h25h
husky > pre-commit…
-
![qq 20180119171812](https://user-images.githubusercontent.com/3349723/35143637-22b884b8-fd3d-11e7-893f-16f7c9535453.png)
![qq 20180119171957](https://user-images.githubusercontent.com/3349723/3514…
-
const fontFamilies = [
{
name: '黑',
family: 'SimHei, Helvetica, sans-serif'
}, {
name: '宋',
family: 'SimSun, Helvetica, sans-serif'
}, {
name: '楷体',
family: 'Kai…
-
Uncaught TypeError: Cannot set property 'getCurrentStack' of undefined
at setCurrentDebugStack (react-dom-server.browser.development.js:1822)
at ReactDOMServerRenderer.read (react-dom-serve…
-
react-dom.js:17896 Uncaught Error: _registerComponent(...): Target container is not a DOM element.
-
超链接输入字符无作用,控制台并未报错
-
https://margox.github.io/braft-editor/ 操作可以重现
-
先占个坑…
用webpack打包时不进行JS压缩可以正常使用。压缩后发布到线上想要传图片,点击工具栏时报了一个错: `xx is not a function`,怀疑是压缩后变量名重复?
```jsx
import React from 'react'
import PropTypes from 'prop-types'
import BraftEditor from 'braf…
-
initialContent为HTML内容时,并且存在img标签时会报错,如下
```
const editorProps = {
height: 500,
contentFormat: 'html',
initialContent: '',
onHTMLChange: this.handl…
miser updated
7 years ago