ajoute un plugin de sélection de couleur à l'éditeur, rend la suppression du formatage fonctionelle aussi sur la coloration
This commit is contained in:
parent
5970bdbc5e
commit
1c85dcc794
|
@ -0,0 +1,3 @@
|
|||
[submodule "polynum/editor/static/aloha/plugins/external/colorselector"]
|
||||
path = polynum/editor/static/aloha/plugins/external/colorselector
|
||||
url = https://github.com/jstrouse/Aloha-Plugin-Colorselector.git
|
|
@ -0,0 +1 @@
|
|||
Subproject commit d45eff96ca1577d83b2c33f86171f7cba5c0537e
|
|
@ -19,7 +19,8 @@
|
|||
editables: {
|
||||
// no formatting allowed for title
|
||||
'#top-text': []
|
||||
}
|
||||
},
|
||||
removeFormats: [ 'strong', 'em', 'b', 'i', 's', 'cite', 'q', 'code', 'abbr', 'del', 'sub', 'sup', 'span'],
|
||||
},
|
||||
list: {
|
||||
// all elements with no specific configuration get an UL, just for fun :)
|
||||
|
@ -167,7 +168,8 @@
|
|||
extra/sourceview,
|
||||
common/characterpicker,
|
||||
common/commands,
|
||||
common/contenthandler"></script>
|
||||
common/contenthandler,
|
||||
external/colorselector"></script>
|
||||
<script type="text/javascript">
|
||||
function editor_activate() {
|
||||
Aloha.jQuery('#editor-switch').html("Désactiver l'éditeur");
|
||||
|
|
Reference in New Issue