Skip to content

Commit 64ef351

Browse files
rjvelazcoclaude
andcommitted
style(block-editor): wrap long @if condition in asset-by-url popover
Resolves the `nx format:check` CI failure caused by the inline @if condition exceeding the prettier print width. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 376a882 commit 64ef351

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

core-web/libs/new-block-editor/src/lib/editor/components/asset-by-url-popover.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ function urlValidator(control: AbstractControl): ValidationErrors | null {
9292
autocomplete="off"
9393
[placeholder]="urlPlaceholder()"
9494
class="w-full text-sm" />
95-
@if (form.controls.url.touched && form.controls.url.errors?.['invalidUrl']) {
95+
@if (
96+
form.controls.url.touched && form.controls.url.errors?.['invalidUrl']
97+
) {
9698
<span class="text-xs text-red-600">
9799
{{ 'dot.block.editor.dialog.asset-by-url.field.url.invalid' | dm }}
98100
</span>

0 commit comments

Comments
 (0)