nl_tokens: Check if current caret position is inside &lt ; style&gt ; tag
pl_tokens: function ( editor ) { var content = String ( editor . getContent ( ) ) ; var caretPos = editor . getCaretPos ( ) ; var tag = require ( 'htmlMatcher' ) . tag ( content , caretPos ) ; return <mask> && tag . open . name . toLowerCase ( ) == 'style' && tag . innerRange . cmp ( caretPos , 'lte' , 'gte' ) ; }