You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So for the overlay widget, there is no problem. It is just described exactly as it is.
For the content widget scrolls inline with text, some times I still find that it overlay the text. Is that any option that I can put this small content widget after the text and not overlay at all?
Here is the effect what we want to implement(From other editor tools):
See this green background text, it can be implemented by content widget:
But if use current example, we need to handle the text space which is not so easy, it is better to have content widget which is not overlay with text at all, when we create this widget, then the text will automaticly handled and not overlay at all.
Maybe there are some other good idea to implement this feature?
*questionIssue represents a question, should be posted to StackOverflow (VS Code)
1 participant
Converted from issue
This discussion was converted from issue #2780 on March 03, 2023 13:23.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I am playing the content widget through following web:
https://microsoft.github.io/monaco-editor/playground.html#interacting-with-the-editor-listening-to-mouse-events
So for the overlay widget, there is no problem. It is just described exactly as it is.
For the content widget scrolls inline with text, some times I still find that it overlay the text. Is that any option that I can put this small content widget after the text and not overlay at all?
Here is the effect what we want to implement(From other editor tools):
See this green background text, it can be implemented by content widget:
But if use current example, we need to handle the text space which is not so easy, it is better to have content widget which is not overlay with text at all, when we create this widget, then the text will automaticly handled and not overlay at all.
Maybe there are some other good idea to implement this feature?
Thanks & Best Regards,
Beta Was this translation helpful? Give feedback.
All reactions