Skip to content

Commit

Permalink
Support adding multiple css strings to a token using markText
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Nov 23, 2015
1 parent 2e3a2a1 commit 10b0c73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/codemirror.js
Original file line number Diff line number Diff line change
Expand Up @@ -7089,7 +7089,7 @@
spanEndStyle = "";
}
if (m.className) spanStyle += " " + m.className;
if (m.css) css = m.css;
if (m.css) css = (css ? css + ";" : "") + m.css;
if (m.startStyle && sp.from == pos) spanStartStyle += " " + m.startStyle;
if (m.endStyle && sp.to == nextChange) spanEndStyle += " " + m.endStyle;
if (m.title && !title) title = m.title;
Expand Down

0 comments on commit 10b0c73

Please sign in to comment.