kopia lustrzana https://github.com/wagtail/wagtail
Rename hallo.js plugins from verdant to wagtail
rodzic
77ec180efc
commit
bdf130541d
|
@ -14,7 +14,7 @@
|
|||
min-height:50px;
|
||||
overflow: hidden;
|
||||
|
||||
/* Resetting various html tags that have been messed with by Verdant's main css */
|
||||
/* Resetting various html tags that have been messed with by Wagtail's main css */
|
||||
h1{
|
||||
text-transform:none;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# plugin for hallo.js to allow inserting links using Verdant's page chooser
|
||||
# plugin for hallo.js to allow inserting links using Wagtail's page chooser
|
||||
|
||||
(($) ->
|
||||
$.widget "IKS.halloverdantlink",
|
||||
$.widget "IKS.hallowagtaillink",
|
||||
options:
|
||||
uuid: ''
|
||||
editable: null
|
|
@ -25,10 +25,10 @@ function makeRichTextEditable(id) {
|
|||
'hallolists': {},
|
||||
'hallohr': {},
|
||||
'halloreundo': {},
|
||||
'halloverdantimage': {},
|
||||
'halloverdantembeds': {},
|
||||
'halloverdantlink': {},
|
||||
'halloverdantdoclink': {},
|
||||
'hallowagtailimage': {},
|
||||
'hallowagtailembeds': {},
|
||||
'hallowagtaillink': {},
|
||||
'hallowagtaildoclink': {},
|
||||
}
|
||||
}).bind('hallomodified', function(event, data) {
|
||||
input.val(data.content);
|
||||
|
|
|
@ -10,17 +10,17 @@
|
|||
<script src="{{ STATIC_URL }}wagtailadmin/js/vendor/tag-it.js"></script>
|
||||
<script src="{{ STATIC_URL }}wagtailadmin/js/expanding_formset.js"></script>
|
||||
<script src="{{ STATIC_URL }}wagtailadmin/js/modal-workflow.js"></script>
|
||||
<script src="{{ STATIC_URL }}wagtailadmin/js/hallo-plugins/hallo-verdant-toolbar.js"></script>
|
||||
<script type="text/coffeescript" src="{{ STATIC_URL }}wagtailadmin/js/hallo-plugins/hallo-verdantlink.coffee"></script>
|
||||
<script src="{{ STATIC_URL }}wagtailadmin/js/hallo-plugins/hallo-wagtail-toolbar.js"></script>
|
||||
<script type="text/coffeescript" src="{{ STATIC_URL }}wagtailadmin/js/hallo-plugins/hallo-wagtaillink.coffee"></script>
|
||||
<script type="text/coffeescript" src="{{ STATIC_URL }}wagtailadmin/js/hallo-plugins/hallo-hr.coffee"></script>
|
||||
<script type="text/coffeescript" src="{{ STATIC_URL }}wagtailimages/js/hallo-plugins/hallo-verdantimage.coffee"></script>
|
||||
<script type="text/coffeescript" src="{{ STATIC_URL }}wagtailembeds/js/hallo-plugins/hallo-verdantembeds.coffee"></script>
|
||||
<script type="text/coffeescript" src="{{ STATIC_URL }}wagtaildocs/js/hallo-plugins/hallo-verdantdoclink.coffee"></script>
|
||||
<script type="text/coffeescript" src="{{ STATIC_URL }}wagtailimages/js/hallo-plugins/hallo-wagtailimage.coffee"></script>
|
||||
<script type="text/coffeescript" src="{{ STATIC_URL }}wagtailembeds/js/hallo-plugins/hallo-wagtailembeds.coffee"></script>
|
||||
<script type="text/coffeescript" src="{{ STATIC_URL }}wagtaildocs/js/hallo-plugins/hallo-wagtaildoclink.coffee"></script>
|
||||
<script src="{{ STATIC_URL }}wagtailadmin/js/page-editor.js"></script>
|
||||
|
||||
<script src="{{ STATIC_URL }}wagtailadmin/js/page-chooser.js"></script>
|
||||
{% comment %}
|
||||
TODO: have a mechanism to specify image-chooser.js (and hallo-verdantimage.coffee)
|
||||
TODO: have a mechanism to specify image-chooser.js (and hallo-wagtailimage.coffee)
|
||||
within the wagtailimages app -
|
||||
ideally wagtailadmin shouldn't have to know anything at all about wagtailimages
|
||||
TODO: a method of injecting these sorts of things on demand when the modal is spawned.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# plugin for hallo.js to allow inserting links using Verdant's page chooser
|
||||
# plugin for hallo.js to allow inserting links using Wagtail's page chooser
|
||||
|
||||
(($) ->
|
||||
$.widget "IKS.halloverdantdoclink",
|
||||
$.widget "IKS.hallowagtaildoclink",
|
||||
options:
|
||||
uuid: ''
|
||||
editable: null
|
|
@ -1,7 +1,7 @@
|
|||
# plugin for hallo.js to allow inserting embeds
|
||||
|
||||
(($) ->
|
||||
$.widget "IKS.halloverdantembeds",
|
||||
$.widget "IKS.hallowagtailembeds",
|
||||
options:
|
||||
uuid: ''
|
||||
editable: null
|
|
@ -1,7 +1,7 @@
|
|||
# plugin for hallo.js to allow inserting images from the Verdant image library
|
||||
# plugin for hallo.js to allow inserting images from the Wagtail image library
|
||||
|
||||
(($) ->
|
||||
$.widget "IKS.halloverdantimage",
|
||||
$.widget "IKS.hallowagtailimage",
|
||||
options:
|
||||
uuid: ''
|
||||
editable: null
|
Ładowanie…
Reference in New Issue