Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
i have code mirror control, i want to apply css style for text when i entered text in code mirror,
means when i entered any keyword need to display that text with special style

can anyone help me how to do that
Posted

1 solution

Please try is as below.

Note: This is just a sample.
<div class="CodeMirror-gutters" style=" /*height: some_pixel*/; "><div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 28px;"></div></div>


Read for more : Css not working properly in codemirror editor

Codemirror CSS
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900