def includeme(config): config.scan("kotti_tinymce") config.add_translation_dirs('kotti_tinymce:locale/') try: # kotti >= 0.8 from js.deform import resource_mapping edit_needed = resource_mapping['tinymce'].append(kotti_tinymce) except ImportError: # pragma: no cover # kotti < 0.8 from kotti.static import edit_needed edit_needed.add(kotti_tinymce)
def includeme(config): config.scan("kotti_wysihtml5") config.scan("kotti_tinymce") try: # kotti >= 0.8 from js.deform import resource_mapping edit_needed = resource_mapping['tinymce'] = \ [kotti_wysihtml5, ] except ImportError: # pragma: no cover # kotti < 0.8 from kotti.static import edit_needed edit_needed.add(kotti_wysihtml5)
def includeme(config): edit_needed.add(kotti_tinymce) config.scan("kotti_tinymce") config.add_translation_dirs('kotti_tinymce:locale/')
def includeme(config): config.add_static_view("static-kotti_website", "kotti_website:static") edit_needed.add(css) view_needed.add(css)
def includeme(config): edit_needed.add(kotti_tinymce) config.scan("kotti_tinymce") config.add_translation_dirs('kotti_tinymce:locale/') config.add_static_view('kotti_tinycme_static', 'kotti_tinymce:static')