]> BookStack Code Mirror - bookstack/commit
Fixed page copying not retaining content
authorDan Brown <redacted>
Sat, 9 Jan 2021 19:39:09 +0000 (19:39 +0000)
committerDan Brown <redacted>
Sat, 9 Jan 2021 19:39:09 +0000 (19:39 +0000)
commit526be33ab2a88609e0178187e013e22081263ee3
treeb811fd68636f74e587b8e89909ac0b791cb45e15
parent831f441879d20ac99645c242e81ae3d25bc96559
Fixed page copying not retaining content

Was when there was no markdown content.
Added tests to cover both HTML and markdown scenarios.
Also removed old console.log

Related to #2463
app/Entities/Repos/PageRepo.php
resources/js/components/page-editor.js
tests/Entity/PageTest.php
tests/Entity/SortTest.php
Morty Proxy This is a proxified and sanitized view of the page, visit original site.