René's URL Explorer Experiment


Title: Content of book lost, when switching to new WYSIWYG editor · Issue #5378 · BookStackApp/BookStack · GitHub

Open Graph Title: Content of book lost, when switching to new WYSIWYG editor · Issue #5378 · BookStackApp/BookStack

X Title: Content of book lost, when switching to new WYSIWYG editor · Issue #5378 · BookStackApp/BookStack

Description: Describe the Bug Hi I encountered a bug with a particular book. When I switch from the old WYSIWYG editor to the new WYSIWYG editor, then the complete content is gone, and a blank page is presented. Fortunately, the content is not lost. ...

Open Graph Description: Describe the Bug Hi I encountered a bug with a particular book. When I switch from the old WYSIWYG editor to the new WYSIWYG editor, then the complete content is gone, and a blank page is presented...

X Description: Describe the Bug Hi I encountered a bug with a particular book. When I switch from the old WYSIWYG editor to the new WYSIWYG editor, then the complete content is gone, and a blank page is presented...

Opengraph URL: https://github.com/BookStackApp/BookStack/issues/5378

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Content of book lost, when switching to new WYSIWYG editor","articleBody":"### Describe the Bug\n\nHi\r\n\r\nI encountered a bug with a particular book.\r\nWhen I switch from the old WYSIWYG editor to the new WYSIWYG editor, then the complete content is gone, and a blank page is presented. Fortunately, the content is not lost. I can click on \"Delete draft\", go back and then the content is available again.\r\n\r\nThis issue ocourred only in one particular book so far.\r\n\r\nHere is the error, which is visible in devtools -> console:\r\n\r\n```js\r\nwysiwyg.js?version=v24.12:12 Error: Internal Lexical error: invariant() is meant to be replaced at compile time. There is no runtime version. Error: Expected node %s to have a parent.\r\n    at x (wysiwyg.js?version=v24.12:4:591)\r\n    at Eo.getParentOrThrow (wysiwyg.js?version=v24.12:6:5367)\r\n    at Eo.insertBefore (wysiwyg.js?version=v24.12:6:10148)\r\n    at $N (wysiwyg.js?version=v24.12:12:54218)\r\n    at Di (wysiwyg.js?version=v24.12:12:51994)\r\n    at _o (wysiwyg.js?version=v24.12:14:11452)\r\n    at wysiwyg.js?version=v24.12:16:65925\r\n    at jd (wysiwyg.js?version=v24.12:12:24836)\r\n    at xe (wysiwyg.js?version=v24.12:12:25794)\r\n    at po.update (wysiwyg.js?version=v24.12:12:43951)\r\njd @ wysiwyg.js?version=v24.12:12\r\nxe @ wysiwyg.js?version=v24.12:12\r\nupdate @ wysiwyg.js?version=v24.12:12\r\nZn @ wysiwyg.js?version=v24.12:16\r\nZ$ @ wysiwyg.js?version=v24.12:20\r\n(anonymous) @ app.js?version=v24.12:22\r\nPromise.then\r\nsetup @ app.js?version=v24.12:22\r\ninitComponent @ app.js?version=v24.12:22\r\ninit @ app.js?version=v24.12:22\r\n(anonymous) @ app.js?version=v24.12:22\r\n```\n\n### Steps to Reproduce\n\n1. Open a Book, which is in the old WYSIWYG format\r\n2. Click on \"Edit\" (or press 'e')\r\n3. Click on \"Draft Options\"\r\n4. Select \"Switch to new WYSIWYG (in alpha testing)\r\n5. Confirm the Dialogue box with button Continue\r\n\"Are you sure you want to change the editor for this page?\r\nConsider the following when changing editors:\"\r\n6. Confirm Browser Message \"Leave website?\"\r\n![image](https://github.com/user-attachments/assets/aa0cfb76-01e6-4485-9f26-6b485edd6ff4)\r\n7. End -> Blank page visible and error message in \"Devtools -> Console\" is visible\n\n### Expected Behaviour\n\nThe content should not be lost when switching to the new editor.\n\n### Screenshots or Additional Context\n\n\r\nhttps://github.com/user-attachments/assets/973f26ff-317f-4459-9f45-46faee076d7c\r\n\r\n\n\n### Browser Details\n\nBrave Browser\n\n### Exact BookStack Version\n\nBookStack v24.12","author":{"url":"https://github.com/miracuruzrh","@type":"Person","name":"miracuruzrh"},"datePublished":"2024-12-31T11:27:39Z","url":"https://github.com/BookStackApp/BookStack/issues/5378"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:79b89c62-33f4-686a-7471-ed76b9ed3e99
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9110:D1B6C:2535B73:33CE6FC:6AFD4150
html-safe-nonce02ec57f0634536123925e1ceeb239641286159e5af92c903af9cc9c5b2cc8bd0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTEwOkQxQjZDOjI1MzVCNzM6MzNDRTZGQzo2QUZENDE1MCIsInZpc2l0b3JfaWQiOiI3MzgyNzQ5MzM0MjA0MTM3ODA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac53fbe7581ef3b0466dd6b2a38e136b736e104a0974bd1045bca851390a445372
hovercard-subject-tagissue:2764272583
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/BookStackApp/BookStack/5378/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c22e1cb354dfd8101812c267eed6b939f3a79d892a9e748236104b1dc89b4538/BookStackApp/BookStack/issues/5378
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c22e1cb354dfd8101812c267eed6b939f3a79d892a9e748236104b1dc89b4538/BookStackApp/BookStack/issues/5378
og:image:altDescribe the Bug Hi I encountered a bug with a particular book. When I switch from the old WYSIWYG editor to the new WYSIWYG editor, then the complete content is gone, and a blank page is presented...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemiracuruzrh
hostnamegithub.com
expected-hostnamegithub.com
Nonebdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474
turbo-cache-controlno-preview
go-importgithub.com/BookStackApp/BookStack git https://github.com/BookStackApp/BookStack.git
octolytics-dimension-user_id20912696
octolytics-dimension-user_loginBookStackApp
octolytics-dimension-repository_id41589337
octolytics-dimension-repository_nwoBookStackApp/BookStack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id41589337
octolytics-dimension-repository_network_root_nwoBookStackApp/BookStack
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release556dd37bb0aceffb25724e151b5d858b3265b40b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/BookStackApp/BookStack/issues/5378#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FBookStackApp%2FBookStack%2Fissues%2F5378
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FBookStackApp%2FBookStack%2Fissues%2F5378
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=BookStackApp%2FBookStack
Reloadhttps://github.com/BookStackApp/BookStack/issues/5378
Reloadhttps://github.com/BookStackApp/BookStack/issues/5378
Reloadhttps://github.com/BookStackApp/BookStack/issues/5378
BookStackApphttps://github.com/BookStackApp
BookStackhttps://github.com/BookStackApp/BookStack
Codehttps://github.com/BookStackApp/BookStack
Issueshttps://github.com/BookStackApp/BookStack/issues
Pull requests3 (3)https://github.com/BookStackApp/BookStack/pulls
Security and quality8 (8)https://github.com/BookStackApp/BookStack/security
Insightshttps://github.com/BookStackApp/BookStack/insights
https://github.com/BookStackApp/BookStack
New issuehttps://github.com/login?return_to=https://github.com/BookStackApp/BookStack/issues/5378
New issuehttps://github.com/login?return_to=https://github.com/BookStackApp/BookStack/issues/5378
Content of book lost, when switching to new WYSIWYG editorhttps://github.com/BookStackApp/BookStack/issues/5378#top
🐛 Bughttps://github.com/BookStackApp/BookStack/issues?q=state%3Aopen%20label%3A%22%3Abug%3A%20Bug%22
https://github.com/miracuruzrh
miracuruzrhhttps://github.com/miracuruzrh
on Dec 31, 2024https://github.com/BookStackApp/BookStack/issues/5378#issue-2764272583
https://private-user-images.githubusercontent.com/44341190/399460763-aa0cfb76-01e6-4485-9f26-6b485edd6ff4.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ5ODI1MjUsIm5iZiI6MTc5NDk4MjIyNSwicGF0aCI6Ii80NDM0MTE5MC8zOTk0NjA3NjMtYWEwY2ZiNzYtMDFlNi00NDg1LTlmMjYtNmI0ODVlZGQ2ZmY0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTE4VDA2MTAyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI0MDk3ZTY1ZmNjZmRhNWY0OWVkNDliMTM0N2I1OGZhZTEzOTllMWEwMDJhYWIzMjVmM2MyYzRhN2MyMDQ1OTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.1kz_B116OzbOvDRHF_ExnDTjP8GBrx65qcuBjYTd3iw
miracuruzrhhttps://github.com/miracuruzrh
🐛 Bughttps://github.com/BookStackApp/BookStack/issues?q=state%3Aopen%20label%3A%22%3Abug%3A%20Bug%22
on Dec 31, 2024https://github.com/BookStackApp/BookStack/issues/5378#event-15789880816
https://github.com/ssddanbrown
ssddanbrownhttps://github.com/ssddanbrown
on Dec 31, 2024https://github.com/BookStackApp/BookStack/issues/5378#issuecomment-2566549831
@miracuruzrhhttps://github.com/miracuruzrh
https://github.com/miracuruzrh
miracuruzrhhttps://github.com/miracuruzrh
on Jan 7, 2025https://github.com/BookStackApp/BookStack/issues/5378#issuecomment-2576012159
@ssddanbrownhttps://github.com/ssddanbrown
ssddanbrownhttps://github.com/ssddanbrown
v24.12.2https://github.com/BookStackApp/BookStack/milestone/155
on Jan 8, 2025https://github.com/BookStackApp/BookStack/issues/5378#event-15854576493
https://github.com/ssddanbrown
ssddanbrownhttps://github.com/ssddanbrown
on Jan 15, 2025https://github.com/BookStackApp/BookStack/issues/5378#issuecomment-2593422292
@miracuruzrhhttps://github.com/miracuruzrh
#5245https://github.com/BookStackApp/BookStack/issues/5245
ssddanbrownhttps://github.com/ssddanbrown
completedhttps://github.com/BookStackApp/BookStack/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 15, 2025https://github.com/BookStackApp/BookStack/issues/5378#event-15943887332
https://github.com/YamiGhor
YamiGhorhttps://github.com/YamiGhor
on Feb 18, 2025https://github.com/BookStackApp/BookStack/issues/5378#issuecomment-2665715601
https://private-user-images.githubusercontent.com/3085166/414275782-c435decc-d0aa-4434-8c20-23acb5828045.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ5ODI1MjUsIm5iZiI6MTc5NDk4MjIy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BpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Zjc1MDM4ZmZmNjJjNWVlYzc0ODU2NzI2ZjExNTlkZTUwNTI0MDQ0OWRmY2Y4NDlkY2IyN2FlNDYxODBlMzM2MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.rwho5zkWQ5BiYvVsNu2fOu8cVz8RLdZ5Z2ETse15hzQ
ssddanbrownhttps://github.com/ssddanbrown
v24.12.2https://github.com/BookStackApp/BookStack/milestone/155
on Feb 22, 2025https://github.com/BookStackApp/BookStack/issues/5378#event-16412305538
Sign up for freehttps://github.com/signup?return_to=https://github.com/BookStackApp/BookStack/issues/5378
Sign in to commenthttps://github.com/login?return_to=https://github.com/BookStackApp/BookStack/issues/5378
🐛 Bughttps://github.com/BookStackApp/BookStack/issues?q=state%3Aopen%20label%3A%22%3Abug%3A%20Bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.