bughelp wanted
倉庫指標
- Star
- (14,836 star)
- PR 合併指標
- (平均合併 6小時 26分鐘) (30 天內合併 15 個 PR)
描述
When we use monaco editor colorize for highlighting content, break-word is not happening properly. The reason is that you use content for making spaces in content. So that we can't break word properly using CSS.
Example Code like this :
<span>
<span class="mtk1"> $(</span>
<span class="mtk40">'.zc-branchesBody .dropdown-content'</span>
<span class="mtk1">).css(</span>
<span class="mtk40">'max-height'</span>
<span class="mtk1">, </span>
</span>
If the span tag containing like this "word-break: break-word" is not possible using CSS and javascript.
Any idea for "breakword containing content" ?