|
@@ -252,6 +252,19 @@ constants.THEME = config.theme || 'default'
|
|
|
constants.DEFAULT_EXPAND = config.defaultExpand !== false
|
|
|
constants.JDBC_DRIVERS = config.jdbcDrivers || constants.JDBC_DRIVERS
|
|
|
constants.DATASOURCE_TYPES = config.datasourceTypes || constants.DATASOURCE_TYPES
|
|
|
+if(config.editorFontFamily !== undefined){
|
|
|
+ constants.EDITOR_FONT_FAMILY = config.editorFontFamily
|
|
|
+}
|
|
|
+if(config.editorFontSize !== undefined){
|
|
|
+ constants.EDITOR_FONT_SIZE = config.editorFontSize
|
|
|
+}
|
|
|
+constants.FONT_LIGATURES = config.fontLigatures !== false
|
|
|
+if(config.logMaxRows !== undefined){
|
|
|
+ constants.LOG_MAX_ROWS = Math.max(config.logMaxRows, 10)
|
|
|
+}
|
|
|
+if(config.decorationTimeout !== undefined) {
|
|
|
+ constants.DECORATION_TIMEOUT = config.decorationTimeout
|
|
|
+}
|
|
|
bus.$on(Message.MESSAGE, (msgType, content) => {
|
|
|
if(websocket){
|
|
|
if(content){
|