Skip to content

fix: markdown editor integ tests failing and tools panel string changes#2843

Open
abose wants to merge 6 commits intomainfrom
ai
Open

fix: markdown editor integ tests failing and tools panel string changes#2843
abose wants to merge 6 commits intomainfrom
ai

Conversation

@abose
Copy link
Copy Markdown
Member

@abose abose commented Apr 24, 2026

No description provided.

abose added 6 commits April 24, 2026 21:46
F8 is bound to the Live Preview edit toggle (_handlePreviewBtnClick),
which calls LiveDevelopment.setMode(LIVE_EDIT_MODE) and shows the
UPSELL_TYPE_LIVE_EDIT dialog for free users. The F-key forwarding
tests dispatched F8 into the mdviewer iframe, which was then forwarded
to Phoenix's document-level F8 handler — stacking 2 upsell dialogs
in the test runner.

Swap to F9 (unbound) — the test only needs to verify that F-keys
are forwarded from the iframe, it doesn't need F8 specifically.

Also rename the outer describe to "livepreview:Markdown Editor 1" to
match sibling suites ("Edit Mode", "Edit More", "Table Editing").
New string used by the device-size cycle button in phoenix-pro when
no other cycle target fits the available width in normal preview mode.
The fit-to-panel button only appeared in design mode when a responsive
viewport was active. Its role is now folded into the device size cycle
button in phoenix-pro, which treats "fit" as a 4th cycle state when in
design mode. Drops the dedicated button, its CSS, and the unused
DEVICE_SIZE_FIT_TO_PANEL string.
Used by the "Fit to screen" item in the live preview device size
dropdown in phoenix-pro (visible only in design mode).
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant