mbeditor 0.3.7 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/app/assets/javascripts/mbeditor/editor_plugins.js +3 -3
- data/lib/mbeditor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: caf178914c2be95307a23ee24744dabd50f12c8597c69eddf814f63895e17433
|
|
4
|
+
data.tar.gz: 0353fc7e791cf1fff4c739fddf59d0a1ba8259353a4147b738824275c4bca55f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 772a81a73df9b7ca2bd517193ee0178fb9843ea934c7bbc05157e84794596c62b98f34dbfa50004e2c8ee1abeda1e121e8936350826b1a213031952c1ef10563
|
|
7
|
+
data.tar.gz: 705bc59cb210934c909b35819d41c98ecd3e858a153a25efa6587e530c51faa0821aa39932c155c4860c7335a0c70d7f06302e4c6a5b7cb7f1214911bb1f7fbe
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.3.8] - 2026-04-16
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Prevented Emmet's custom Tab action from intercepting selected text, so multi-line selections are no longer replaced when pressing Tab/Shift+Tab in markup editors.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- Added a system regression test to ensure multi-line selections in JSX are not collapsed by the Emmet Tab integration.
|
|
15
|
+
|
|
8
16
|
## [0.3.7] - 2026-04-16
|
|
9
17
|
|
|
10
18
|
### Fixed
|
|
@@ -197,12 +197,12 @@
|
|
|
197
197
|
id: 'mbeditor.emmet.expandAbbreviation',
|
|
198
198
|
label: 'Emmet: Expand Abbreviation',
|
|
199
199
|
keybindings: [window.monaco.KeyCode.Tab],
|
|
200
|
-
precondition: '!suggestWidgetVisible && !parameterHintsVisible',
|
|
200
|
+
precondition: '!suggestWidgetVisible && !parameterHintsVisible && !editorHasSelection',
|
|
201
201
|
run: function(editor) {
|
|
202
202
|
var selection = editor.getSelection();
|
|
203
|
-
//
|
|
203
|
+
// Selection indentation should use Monaco defaults, not Emmet expansion.
|
|
204
204
|
if (!selection.isEmpty()) {
|
|
205
|
-
editor.trigger('keyboard', '
|
|
205
|
+
editor.trigger('keyboard', 'editor.action.indentLines', null);
|
|
206
206
|
return;
|
|
207
207
|
}
|
|
208
208
|
var pos = editor.getPosition();
|
data/lib/mbeditor/version.rb
CHANGED