wwsun
released this
05 Aug 07:01
·
23 commits
to main
since this release
What's Changed
- fix: fix context menu error on macOS by @ccloli in #170
- fix: set value as jsxElement children by @wwsun in #173
- fix: fix global hotkey triggering on content editable elements by @ccloli in #174
- fix: drag-panel add resizeable & height prop by @BoBoooooo in #175
- fix: update designer style by @wwsun in #176
- fix: selection bug without prototype & update ToggleButton style by @wwsun in #180
- fix: update designer config by @wwsun in #186
- refactor: editor code sync logic by @wwsun in #190
Breaking Changes
Consider there are no cases where the isFormatCode
parameter is used, the following changes have been made
module.update(code, isFormatCode)
changed tomodule.update(code, isSyncAst)
updateFile(filename, code, isFormatCode)
changed toupdateFile(filename, code, isSyncAst)
Features
core
- add
workspace.fileErrors
to return all file errors - add
workspace.syncFiles
to sync all files ast - add
module.isAstSynced
to check if code-ast synced in current file - add
file.isError
to check if has errors - add
file.errorMessage
to check file error message
designer
- add
activeViews
to Toolbar.Item
Full Changelog: https://github.com/NetEase/tango/compare/@music163/tango-designer@1.3.0...@music163/tango-designer@1.4.0