AlohaPlugins
FontSize, FontFamily and ColorSelector plugins updated for Aloha 0.22
Install / Use
/learn @TomasMolnar/AlohaPluginsREADME
FontSize, FontFamily and ColorSelector plugins updated for Aloha 0.22
How to use (I assume you downloaded or forked Aloha from github https://github.com/alohaeditor/Aloha-Editor):
- copy /community folder to your /plugins folder
- configure toolbar and plugins settings. Plugins have to have at least an empty config object. See example below
- add plugins to be loaded to the <script> tag. See example below
Aloha settings example:
<script type="text/javascript"> if (window.Aloha === undefined || window.Aloha === null) { var Aloha = window.Aloha = {}; } Aloha.settings = { sidebar: { disabled: true }, toolbar: { tabs: [ // Format Tab { label: 'tab.format.label', showOn: { scope: 'Aloha.continuoustext' }, components: [ [ 'bold', 'strong', 'italic', 'emphasis', 'underline', '\n', 'subscript', 'superscript', 'strikethrough', 'quote' ], [ 'formatLink', 'formatAbbr', 'formatNumeratedHeaders', 'toggleDragDrop', '\n', 'toggleMetaView', 'wailang', 'toggleFormatlessPaste' ], [ 'alignLeft', 'alignCenter', 'alignRight', 'alignJustify', '\n', 'orderedList', 'unorderedList', 'indentList', 'outdentList' ], [ 'FontSizeUp', 'FontSizeDown', 'characterPicker', '\n', 'colorselector', 'fontcolorselector', 'fontfamily' ], [ 'formatBlock' ] ] }, // Insert Tab { label: 'tab.insert.label', showOn: { scope: 'Aloha.continuoustext' }, components: [] }, ] }, plugins: { fontsize: {}, //empty config object colorselector: {}, //empty config object fontfamily: { config:[], //We deactivate it by default editables: { '#content': ["fontfamily"] //We enable it for the "content" editable } } } }; </script>Example of loading plugins - it goes after the settings are defined:
<script type="text/javascript" src="aloha/lib/aloha-full.min.js" data-aloha-plugins=" common/ui, common/format, common/align, common/highlighteditables, common/list, common/undo, common/contenthandler, common/paste, common/characterpicker, community/fontsize, community/colorselector, community/fontfamily "> </script>Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
