MCPcopy Create free account
hub / github.com/TruthHun/BookStack / activeStyles

Function activeStyles

static/editor.md/lib/codemirror/mode/textile/textile.js:179–186  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

177 }
178
179 function activeStyles(state) {
180 var styles = [];
181 for (var i = 1; i < arguments.length; ++i) {
182 if (state[arguments[i]])
183 styles.push(TOKEN_STYLES[arguments[i]]);
184 }
185 return styles;
186 }
187
188 function blankLine(state) {
189 var spanningLayout = state.spanningLayout, type = state.layoutType;

Callers 1

tokenStylesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected