mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-04 17:04:32 +08:00
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
This commit is contained in:
@ -74,7 +74,6 @@ class PageEditor {
|
||||
}
|
||||
|
||||
setInitialFocus() {
|
||||
console.log({'HAS': this.hasDefaultTitle});
|
||||
if (this.hasDefaultTitle) {
|
||||
return this.titleElem.select();
|
||||
}
|
||||
|
Reference in New Issue
Block a user