Skip to content

1.4.0

Latest
Compare
Choose a tag to compare
@wwsun 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 to module.update(code, isSyncAst)
  • updateFile(filename, code, isFormatCode) changed to updateFile(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/[email protected]...@music163/[email protected]