Skip to content

Commit 54d7d34

Browse files
authored
Update blocks.js
1 parent 4e897b0 commit 54d7d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blocks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export default function (editor, opt = {}) {
22
const c = opt;
33
let bm = editor.BlockManager;
44
let blocks = c.blocks;
5-
let stylePrefix = c.stylePrefix;
5+
let stylePrefix = !!c.stylePrefix ? c.stylePrefix : 'gjs-';
66
const flexGrid = c.flexGrid;
77
const basicStyle = c.addBasicStyle;
88
const clsRow = `${stylePrefix}row`;

0 commit comments

Comments
 (0)