MCPcopy Index your code
hub / github.com/textAngular/textAngular / _retActiveStateFunction

Function _retActiveStateFunction

src/textAngularSetup.js:460–462  ·  view source on GitHub ↗
(q)

Source from the content-addressed store, hash-verified

458 // add the Header tools
459 // convenience functions so that the loop works correctly
460 var _retActiveStateFunction = function(q){
461 return function(){ return this.$editor().queryFormatBlockState(q); };
462 };
463 var headerAction = function(){
464 return this.$editor().wrapSelection("formatBlock", "<" + this.name.toUpperCase() +">");
465 };

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected