Skip to content

Don't open sign editor when placing signs with existing text - #14314

Open
andrewhong04 wants to merge 3 commits into
PaperMC:mainfrom
andrewhong04:fix/sign-editor-on-place
Open

andrewhong04 wants to merge 3 commits into
PaperMC:mainfrom
andrewhong04:fix/sign-editor-on-place

Conversation

@andrewhong04

Copy link
Copy Markdown

Fixes: #14311

This mimics the former behavior in 26.2 when placing signs with custom data, video shows a demo.

8mb.video-aee-BjojmIZS.mp4

@andrewhong04
andrewhong04 requested a review from a team as a code owner September 28, 2026 04:07
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue Sep 28, 2026

@Warriorrrr Warriorrrr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change prevents the editor from being opened when placing an empty sign

@andrewhong04
andrewhong04 force-pushed the fix/sign-editor-on-place branch from 30ed616 to cc0653e Compare October 11, 2026 10:41
@andrewhong04

Copy link
Copy Markdown
Author

Sorry for the late change, I've just squashed and pushed my changes.

I've tested placing an empty sign, editing a sign after it's been placed, editing a sign when placing, and placing a ctrl-copied sign.

Please let me know if you need anything else, thanks.

@Warriorrrr

Copy link
Copy Markdown
Member

Seems better based on my testing now, have you also tested this with a sign containing more complex components like the original issue reported having issues with, just to be sure?

@Doc94 Doc94 moved this from Changes required to Delayed approval in Paper PR Queue Oct 26, 2026
@papermc-projects papermc-projects Bot moved this from Delayed approval to Full approval in Paper PR Queue Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Full approval

Development

Successfully merging this pull request may close these issues.

Placing signs with existing text now opens editor, causing components to be flattened when closed

3 participants