[CodeMirror] Mark only Line´s #3777

Closed
opened 2026-02-05 07:26:37 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @reddexx on GitHub (May 4, 2023).

Describe the Bug

With the new Codemirror, can`t not Custom Mark.

See you Picture
image

Please Fix or Change

Steps to Reproduce

Go to Code-Field and mark the Code

Expected Behaviour

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

23.05

PHP Version

No response

Hosting Environment

Docker

Originally created by @reddexx on GitHub (May 4, 2023). ### Describe the Bug With the new Codemirror, can`t not Custom Mark. See you Picture ![image](https://user-images.githubusercontent.com/6242840/236217982-7b721b3b-6e91-4e8e-b92d-073208ca0f5e.png) Please Fix or Change ### Steps to Reproduce Go to Code-Field and mark the Code ### Expected Behaviour ### Screenshots or Additional Context _No response_ ### Browser Details _No response_ ### Exact BookStack Version 23.05 ### PHP Version _No response_ ### Hosting Environment Docker
OVERLORD added the 🐛 Bug label 2026-02-05 07:26:38 +03:00
Author
Owner

@ssddanbrown commented on GitHub (May 4, 2023):

Hi @reddexx, can you explain exactly what you mean by "mark the Code"?
I don't really understand what the issue is here or what exactly this relates to.

@ssddanbrown commented on GitHub (May 4, 2023): Hi @reddexx, can you explain exactly what you mean by "mark the Code"? I don't really understand what the issue is here or what exactly this relates to.
Author
Owner

@reddexx commented on GitHub (May 4, 2023):

Go to Code-Box And mark a text, it doesn't work. You can't mark the code block either. Only the lines were bad.

@reddexx commented on GitHub (May 4, 2023): Go to Code-Box And mark a text, it doesn't work. You can't mark the code block either. Only the lines were bad.
Author
Owner

@ssddanbrown commented on GitHub (May 4, 2023):

Hi @reddexx, Again I'm not sure what you mean by "mark a text" or "mark the code block".
What exactly do these actions involve?

@ssddanbrown commented on GitHub (May 4, 2023): Hi @reddexx, Again I'm not sure what you mean by "mark a text" or "mark the code block". What exactly do these actions involve?
Author
Owner

@reddexx commented on GitHub (May 4, 2023):

Go to Code block (CodeMirror) and
Place the cursor in front of the first letter of the word, phrase, or paragraph you want to highlight. Hold down the mouse button while dragging the cursor to highlight the desired text.

This working not in Editor and view mode

@reddexx commented on GitHub (May 4, 2023): Go to Code block (CodeMirror) and Place the cursor in front of the first letter of the word, phrase, or paragraph you want to highlight. Hold down the mouse button while dragging the cursor to highlight the desired text. This working not in Editor and view mode
Author
Owner

@ssddanbrown commented on GitHub (May 4, 2023):

@reddexx That works okay for me.

  • Can you provide full details of the browser you're using, and the operating system it's installed on?
  • Does the issue remain in other browsers, or when using a private window?
  • Does the code block on this demo page have the same issue?
@ssddanbrown commented on GitHub (May 4, 2023): @reddexx That works okay for me. - Can you provide full details of the browser you're using, and the operating system it's installed on? - Does the issue remain in other browsers, or when using a private window? - Does the code block on [this demo page](https://demo.bookstackapp.com/books/bookstack-demo-site/page/mixed-content-example-page) have the same issue?
Author
Owner

@reddexx commented on GitHub (May 4, 2023):

Animation2
Animation

in Demo Site working this

i use Chrome

@reddexx commented on GitHub (May 4, 2023): ![Animation2](https://user-images.githubusercontent.com/6242840/236283273-48f67811-2f37-46f1-bdc7-4bca5a7ac508.gif) ![Animation](https://user-images.githubusercontent.com/6242840/236283278-d0926518-363a-430f-aeea-a99ea7be01c4.gif) in Demo Site working this i use Chrome
Author
Owner

@reddexx commented on GitHub (May 4, 2023):

Hey Dan,

i have the Docker Image Rebuild and the Container Recreated

it´s Working now 😂

@reddexx commented on GitHub (May 4, 2023): Hey Dan, i have the Docker Image Rebuild and the Container Recreated it´s Working now 😂
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#3777