diff --git a/package.json b/package.json index baf4a17..81d17cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "web-maker", - "version": "4.0.2", + "version": "4.0.3", "description": "A blazing fast & offline web playground", "scripts": { "start": "npm run -s dev", diff --git a/src/components/CodeEditor.jsx b/src/components/CodeEditor.jsx index 0437bef..1e74c67 100644 --- a/src/components/CodeEditor.jsx +++ b/src/components/CodeEditor.jsx @@ -161,8 +161,6 @@ export default class CodeEditor extends Component { }); } setLanguage(value) { - if (!window.monaco) return; - this.editorReadyDeferred.promise.then(() => { if (this.props.type === 'monaco') { monaco.editor.setModelLanguage( diff --git a/src/components/Notifications.jsx b/src/components/Notifications.jsx index b0f3774..d4708a5 100644 --- a/src/components/Notifications.jsx +++ b/src/components/Notifications.jsx @@ -114,7 +114,13 @@ export function Notifications(props) { return ( <div> <h1>Whats new?</h1> - <Notification version="4.0.2" {...props} isLatest={true}> + <Notification version="4.0.3" {...props} isLatest={true}> + <NotificationItem> + Broken syntax highlighting in non-default Preprocessors. + </NotificationItem> + </Notification> + + <Notification version="4.0.2" {...props}> <li> You can now override settings through query parameters. Currently only{' '} <strong>autoPreview</strong> and <strong>isMonacoEditorOn</strong> are diff --git a/src/components/app.jsx b/src/components/app.jsx index 68319e9..2dbbfd1 100644 --- a/src/components/app.jsx +++ b/src/components/app.jsx @@ -78,7 +78,7 @@ const LocalStorageKeys = { ASKED_TO_IMPORT_CREATIONS: 'askedToImportCreations' }; const UNSAVED_WARNING_COUNT = 15; -const version = '4.0.2'; +const version = '4.0.3'; // Read forced settings as query parameters window.forcedSettings = {}; diff --git a/src/manifest.json b/src/manifest.json index 054ca58..43840bf 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,6 +1,6 @@ { "name": "Web Maker", - "version": "4.0.2", + "version": "4.0.3", "manifest_version": 2, "description": "Blazing fast & offline playground for your web experiments", "homepage_url": "https://webmaker.app", diff --git a/src/options.html b/src/options.html index f21d32f..02a7e7b 100644 --- a/src/options.html +++ b/src/options.html @@ -35,7 +35,7 @@ <body> <h3> Settings - <span style="opacity: 0.6;font-size:0.7em;"> v4.0.1</span> + <span style="opacity: 0.6;font-size:0.7em;"> v4.0.3</span> </h3> <form name="optionsForm"> <label>