Browse Source

Added a check from config (#4753) Fixes #4743

pull/4772/head
Jonathan 4 years ago
committed by GitHub
parent
commit
483ab96eff
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/editor/index.ts

2
src/editor/index.ts

@ -106,7 +106,7 @@ export default class EditorModule implements IBaseModule<EditorConfig> {
this.config = {
...defaults,
...config,
pStylePrefix: defaults.stylePrefix,
pStylePrefix: config.stylePrefix ?? defaults.stylePrefix,
};
this.em = new EditorModel(this.config);
this.$ = opts.$;

Loading…
Cancel
Save