Skip to content

Commit 6609469

Browse files
authored
Merge pull request #8 from FrciSmrci/master
Default style prefix
2 parents 4e897b0 + 237c239 commit 6609469

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)