This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Repository navigation
MarkdownTextBlock Text Selection doesn't select everything #3974
Unanswered
WilliamABradley
asked this question in
Questions & Help
Replies: 4 comments
|
When you look at the visual tree, every InlineElement is added with a RichTextBlock as a parent. How about using a single RichTextBlock and adding everything to the same? I did not do any code check on this but i think that is a route that we need to investigate. |
0 replies
|
That isn't the only limitation, it also has InlineUIContainers, which don't follow the selection either. |
0 replies
|
Whats the current status? |
0 replies
|
There has been no update on this issue. If anyone is able to pick this up please let us know😄 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm submitting a...
Current behavior
Due to the way MarkdownTextBlock is implemented, when selecting text, the selection will stop after one block of text, it also doesn't pick up any formatting, such as Tables, Lists, etc. This will be made worse with #1650, when I add CodeInlines as their own
InlineObjectContainerElement.Expected behavior
Text selection flows across all blocks, like when you select Markdown Text on GitHub. Try select the text on this issue, that is how it should work.
There is probably some way to daisy chain text selection through child UI elements in a RichTextBlock, I just don't know how. Are there any contributors that have knowledge in that area?
Minimal reproduction of the problem with instructions
Go to MarkdownTextBlock sample page, and select some text in the MarkdownTextBlock.
Environment
All reactions