fix: Switch converted to Object Literal (#940)
* updating a switch into object literal and fixed a couple linter errors * added a comment about weird formatting * style: use lodash get * fix: pass eslint + puglint + jest
This commit is contained in:
committed by
Nicolas Giard
parent
2142b5f674
commit
0f9ddf1e5d
@@ -8,7 +8,7 @@
|
||||
import 'grapesjs/dist/css/grapes.min.css'
|
||||
import grapesjs from 'grapesjs'
|
||||
|
||||
let editor
|
||||
let editor // eslint-disable-line no-unused-vars
|
||||
|
||||
export default {
|
||||
mounted() {
|
||||
@@ -31,7 +31,7 @@ export default {
|
||||
}, {
|
||||
id: 'text',
|
||||
label: 'Text',
|
||||
content: '<div data-gjs-type="text">Insert your text here</div>',
|
||||
content: '<div data-gjs-type="text">Insert your text here</div>'
|
||||
}, {
|
||||
id: 'image',
|
||||
label: 'Image',
|
||||
|
Reference in New Issue
Block a user