EditorColorPicker
< EditorColorPicker | uk
Description
Створює сторінку для легкого редагування кольорів підсвічування синтаксису.
EditorColorPicker надає сторінку для легкої зміни кольорів підсвічування синтаксису CodeMirror для редактора джерел UCP. Ви можете отримати доступ до цієї функції, перейшовши до
Special:EditorColorPicker або за допомогою ярликів заголовка, якщо ярлик заголовка увімкнено за допомогою
window.ecpButton = true.
Збереження кольорів створить або перезапише Special:MyPage/editorcolor.css . Кольори посилань імпортуватимуть Special:MyPage/editorcolor.css у верхній частині Special:MyPage/common.css .
Installation
Add this to MediaWiki:ImportJS :
dev:EditorColorPicker.js
importArticles:
Add this JavaScript on your wiki (or add the highlighted text to your existing import statement):
importArticles ({ type : 'script' , articles : [ 'u:dev:MediaWiki:EditorColorPicker.js' , ] });
Local:
Special:MyPage/common.js
Importing multiple scripts? This quick guide shows how to combine the imports. For personal use, note that personal JS must be enabled for your account. If the script requires configuration through MediaWiki:Common.js for sitewide use, don't forget to contact Fandom Staff to get it enabled on your wiki, if it isn't already enabled.
Кредит
Натхненні та використані як посилання: