Open sharmasourabh opened 5 years ago
Can Confirm that.
Here's the workaround that worked for me.
Go to %USERPROFILE%\AppData\Local\boost\app-0.11.17\resources\app\compiled
.
Edit main.js
.
Look for:
path: path.join(directory.split(/\//g).slice(-3).join('/'), file),
Change it to:
path: path.join(CODEMIRROR_THEME_PATH, file),
Version: 0.11.17 Version prior to update: 0.11.15 OS: Windows 10
After update to
0.11.17
, code block theme stopped working. I am using the default theme for editor and overall UI, therefore found no issue with them. However, I saw, editor theme issue is already opened.Analysis: I found that there is code change in
main.js
after v0.11.15 at following code block. A new theme check has been added. Theme path hold the full path of theme path, instead of relative path. Therefore, when it gets added to appPath, a wrong path location is formed. Therefore, code block theme does not reflect.Fix: Returned value inside theme check should return the theme.path as shown below: