src/editor/CSSInlineEditor.js
Function htmlToCSSProvider
has 127 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function htmlToCSSProvider(hostEditor, pos) {
// Only provide a CSS editor when cursor is in HTML content
if (hostEditor.getLanguageForSelection().getId() !== "html") {
return null;
Function _getSelectorName
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _getSelectorName(editor, pos) {
var tagInfo = HTMLUtils.getTagInfo(editor, pos),
selectorName = "",
reason;