mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-22 16:58:28 +02:00
Fix editor tags wrapping behavior
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"productName": "yaak",
|
"productName": "yaak",
|
||||||
"version": "2024.6.5",
|
"version": "2024.6.6",
|
||||||
"identifier": "app.yaak.desktop",
|
"identifier": "app.yaak.desktop",
|
||||||
"build": {
|
"build": {
|
||||||
"beforeBuildCommand": "npm run build",
|
"beforeBuildCommand": "npm run build",
|
||||||
|
|||||||
@@ -19,7 +19,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cm-line {
|
.cm-line {
|
||||||
@apply text-fg pl-1 pr-1.5;
|
@apply w-full; /* Important! Ensure it spans the entire width */
|
||||||
|
@apply w-full text-fg pl-1 pr-1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cm-placeholder {
|
.cm-placeholder {
|
||||||
|
|||||||
@@ -102,6 +102,9 @@ export const baseExtensions = [
|
|||||||
history(),
|
history(),
|
||||||
dropCursor(),
|
dropCursor(),
|
||||||
drawSelection(),
|
drawSelection(),
|
||||||
|
syntaxHighlighting(syntaxHighlightStyle),
|
||||||
|
syntaxTheme,
|
||||||
|
EditorState.allowMultipleSelections.of(true),
|
||||||
autocompletion({
|
autocompletion({
|
||||||
tooltipClass: () => 'x-theme-menu',
|
tooltipClass: () => 'x-theme-menu',
|
||||||
closeOnBlur: true, // Set to `false` for debugging in devtools without closing it
|
closeOnBlur: true, // Set to `false` for debugging in devtools without closing it
|
||||||
@@ -110,9 +113,6 @@ export const baseExtensions = [
|
|||||||
return (a.boost ?? 0) - (b.boost ?? 0);
|
return (a.boost ?? 0) - (b.boost ?? 0);
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
syntaxHighlighting(syntaxHighlightStyle),
|
|
||||||
syntaxTheme,
|
|
||||||
EditorState.allowMultipleSelections.of(true),
|
|
||||||
];
|
];
|
||||||
|
|
||||||
export const multiLineExtensions = [
|
export const multiLineExtensions = [
|
||||||
|
|||||||
Reference in New Issue
Block a user