Title: [Bug Report]: Weird behaviour while editing a page if template sidebar is closed · Issue #3186 · BookStackApp/BookStack · GitHub
Open Graph Title: [Bug Report]: Weird behaviour while editing a page if template sidebar is closed · Issue #3186 · BookStackApp/BookStack
X Title: [Bug Report]: Weird behaviour while editing a page if template sidebar is closed · Issue #3186 · BookStackApp/BookStack
Description: Describe the Bug While using markdown editor the cursor if suppose is on line 9 and we are trying to do backspace it ends up editing line 8. This happens when I close the template sidebar. Steps to Reproduce Create new page Choose templa...
Open Graph Description: Describe the Bug While using markdown editor the cursor if suppose is on line 9 and we are trying to do backspace it ends up editing line 8. This happens when I close the template sidebar. Steps to...
X Description: Describe the Bug While using markdown editor the cursor if suppose is on line 9 and we are trying to do backspace it ends up editing line 8. This happens when I close the template sidebar. Steps to...
Opengraph URL: https://github.com/BookStackApp/BookStack/issues/3186
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug Report]: Weird behaviour while editing a page if template sidebar is closed","articleBody":"### Describe the Bug\n\nWhile using markdown editor the cursor if suppose is on line 9 and we are trying to do backspace it ends up editing line 8. This happens when I close the template sidebar.\n\n### Steps to Reproduce\n\n1. Create new page\r\n2. Choose template\r\n3. Start editing text\r\n4. Close the sidebar\r\n5. And now cursor is at one line but ends up editing other line (this especially happens if you are trying to navigate using arrow keys, backspace, delete.)\n\n### Expected Behaviour\n\nThe cursor should not change position when the template sidebar is closed and should only edit the line or text that it is on.\n\n### Screenshots or Additional Context\n\n_No response_\n\n### Exact BookStack Version\n\nv21.12.1\n\n### PHP Version\n\n_No response_\n\n### Hosting Environment\n\nHosting on raspberry pi 2 using docker.","author":{"url":"https://github.com/quaintdev","@type":"Person","name":"quaintdev"},"datePublished":"2022-01-21T07:49:13Z","url":"https://github.com/BookStackApp/BookStack/issues/3186"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c5f5ed08-b339-f4b5-0a5c-a08373eb1b6f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DADC:116930:60DA17:8BDFC5:6AFD8BC1 |
| html-safe-nonce | 5d9d20e78e80de2889c3f41d9e491669d46c64de84fdf46a5eecae5ef549b55f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQURDOjExNjkzMDo2MERBMTc6OEJERkM1OjZBRkQ4QkMxIiwidmlzaXRvcl9pZCI6IjcyNjc0NDY0NDc4NzczNTQ4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5c1998a754b95da6dd17c93029ed47d690d45388e95d34ba0bc4858cf91abf6f |
| hovercard-subject-tag | issue:1110158534 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/BookStackApp/BookStack/3186/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9341909781db4363836a1aa2cc6ea98f17c23039a9ae056556e83350af4920be/BookStackApp/BookStack/issues/3186 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9341909781db4363836a1aa2cc6ea98f17c23039a9ae056556e83350af4920be/BookStackApp/BookStack/issues/3186 |
| og:image:alt | Describe the Bug While using markdown editor the cursor if suppose is on line 9 and we are trying to do backspace it ends up editing line 8. This happens when I close the template sidebar. Steps to... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | quaintdev |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| go-import | github.com/BookStackApp/BookStack git https://github.com/BookStackApp/BookStack.git |
| octolytics-dimension-user_id | 20912696 |
| octolytics-dimension-user_login | BookStackApp |
| octolytics-dimension-repository_id | 41589337 |
| octolytics-dimension-repository_nwo | BookStackApp/BookStack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 41589337 |
| octolytics-dimension-repository_network_root_nwo | BookStackApp/BookStack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width