Loading editor/html/js/properties.js +11 −1 Original line number Diff line number Diff line Loading @@ -785,7 +785,17 @@ var PropertiesPanel = (function() { ul = sel && sel.anchorNode ? findList(sel.anchorNode) : null; } if (ul) { ul.style.listStyleImage = "url('" + mediaItem.url + "')"; ul.style.listStyle = 'none'; ul.style.paddingLeft = '1.2em'; for (var li = ul.firstElementChild; li; li = li.nextElementSibling) { if (li.tagName !== 'LI') continue; li.style.listStyleType = 'none'; li.style.backgroundImage = "url('" + mediaItem.url + "')"; li.style.backgroundRepeat = 'no-repeat'; li.style.backgroundPosition = '0 0.15em'; li.style.backgroundSize = '14px 14px'; li.style.paddingLeft = '20px'; } hi.value = ed.innerHTML; } }); Loading Loading
editor/html/js/properties.js +11 −1 Original line number Diff line number Diff line Loading @@ -785,7 +785,17 @@ var PropertiesPanel = (function() { ul = sel && sel.anchorNode ? findList(sel.anchorNode) : null; } if (ul) { ul.style.listStyleImage = "url('" + mediaItem.url + "')"; ul.style.listStyle = 'none'; ul.style.paddingLeft = '1.2em'; for (var li = ul.firstElementChild; li; li = li.nextElementSibling) { if (li.tagName !== 'LI') continue; li.style.listStyleType = 'none'; li.style.backgroundImage = "url('" + mediaItem.url + "')"; li.style.backgroundRepeat = 'no-repeat'; li.style.backgroundPosition = '0 0.15em'; li.style.backgroundSize = '14px 14px'; li.style.paddingLeft = '20px'; } hi.value = ed.innerHTML; } }); Loading