comparison src/icons/famfamfam.js @ 9:9159df67520a

remove "icons" option
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 07 Aug 2022 00:19:52 -0600
parents
children 8d32537e0ca7
comparison
equal deleted inserted replaced
8:292d40f68d50 9:9159df67520a
1 (function (document, sceditor) {
2 'use strict';
3
4 let baseUrl = document.currentScript.getAttribute('src').match(/.*\//)[0];
5
6 sceditor.icons.fn = function() {
7 let cssUrl = baseUrl + 'famfamfam/famfamfam.css';
8 let html = '<style>@import "' + cssUrl + '";</style>';
9 document.head.insertAdjacentHTML('beforeend',html);
10 return {};
11 };
12 })(document, sceditor);