Comments: Split out page comment reference logic to own component
Some checks failed
analyse-php / build (push) Waiting to run
lint-php / build (push) Waiting to run
test-js / build (push) Waiting to run
test-migrations / build (8.2) (push) Waiting to run
test-migrations / build (8.3) (push) Waiting to run
test-migrations / build (8.4) (push) Waiting to run
test-php / build (8.2) (push) Waiting to run
test-php / build (8.3) (push) Waiting to run
test-php / build (8.4) (push) Waiting to run
lint-js / build (push) Has been cancelled

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);