Skip to content

Plugin for Aloha editor for change color of selected text (work in progress)

Notifications You must be signed in to change notification settings

gkuhn1/Aloha-Plugin-TextColor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Update plugin to works with aloha 0.20

Installation:

    Put this dirs in "aloha/plugins/extra/textcolor"
    Ex: aloha/plugins/extra/textcolor/lib/..

    put "extra/textcolor
    Ex: <script type="text/javascript" 
          src="/static/aloha/lib/aloha.js"
          data-aloha-plugins="
                        common/format,
                        extra/textcolor"></script>

Configs:
    colors: Disponibled colors name
        Ex: ['black', 'white', 'green']
    auto_add_buttons: Autoadd color buttons on FloatingMenu (default: true)


    Configs example:
    Aloha.settings.plugins.textcolor = {
        colors: [ 'white', 'red', 'blue'],
        auto_add_buttons: false
    }

About

Plugin for Aloha editor for change color of selected text (work in progress)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%