1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-06-13 00:41:59 +03:00

Comments: Split out page comment reference logic to own component

Started support for editor view.
Moved comment elements to be added relative to content area instad of
specific target reference element.
Added relocating on screen size change.
This commit is contained in:
Dan Brown
2025-04-27 16:51:24 +01:00
parent ecda4e1d6f
commit e8f44186a8
8 changed files with 256 additions and 156 deletions

View File

@ -57,9 +57,6 @@ export class PageDisplay extends Component {
}
}
/**
* @public
*/
goToText(text) {
const idElem = document.getElementById(text);