MCPcopy Create free account
hub / github.com/textAngular/textAngular / headerAction

Function headerAction

src/textAngularSetup.js:463–465  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

461 return function(){ return this.$editor().queryFormatBlockState(q); };
462 };
463 var headerAction = function(){
464 return this.$editor().wrapSelection("formatBlock", "<" + this.name.toUpperCase() +">");
465 };
466 angular.forEach(['h1','h2','h3','h4','h5','h6'], function(h){
467 taRegisterTool(h.toLowerCase(), {
468 buttontext: h.toUpperCase(),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…