Skip to content

Disable debug mode by default#502

Merged
jorgemanrubia merged 1 commit intobasecamp:mainfrom
jankeesvw:disable-debug-by-default
Dec 18, 2025
Merged

Disable debug mode by default#502
jorgemanrubia merged 1 commit intobasecamp:mainfrom
jankeesvw:disable-debug-by-default

Conversation

@jankeesvw
Copy link
Copy Markdown
Contributor

Debug information is appearing in console output (eg. on Fizzy.do):

If you open a page with a Lexxy input you'll see see development logs. I think this should be disabled by default and enabled with the existing opt-in.

This is what you would see before this change:

HTML:  <p><br></p>
HTML:  <p>H</p>
HTML:  <p>He</p>

You can still enable this with LexicalEditorElement.debug = true.

image

Debug information is appearing in console output (eg. on Fizzy.do):

If you open a page with a Lexxy input you'll see see development logs. I
think this should be disabled by default and enabled with the existing
opt-in.

This is what you would see before this change:

```
HTML:  <p><br></p>
HTML:  <p>H</p>
HTML:  <p>He</p>
```

You can still enable this with LexicalEditorElement.debug = true.
Copy link
Copy Markdown
Member

@jorgemanrubia jorgemanrubia left a comment

Choose a reason for hiding this comment

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

👏 thanks!

cc @samuelpecher @zachasme this should be part of the new config api too

@jorgemanrubia jorgemanrubia merged commit 8ddfaa6 into basecamp:main Dec 18, 2025
@jankeesvw jankeesvw deleted the disable-debug-by-default branch December 18, 2025 13:47
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.

2 participants