hi,
i am new mezzanine & drum user,
i am trying to add a richtextfield fields to drum, everything work in the
admin (showing tinymce).
But i am not able to show tinymce wysiwyg add link page for user.
on the source page no tinymce js & css
my code :
class LinkForm(BaselinkForm):
def clean(self):
link = self.cleaned_data.get("link", None)
description = self.cleaned_data.get("description", None)
if not link and not description:
raise ValidationError("Either a link or description is
required")
return self.cleaned_data
class Media:
css = {'all': ('/static/mezzanine/tinymce/tinymce.css',)}
js = ('/static/mezzanine/tinymce/tinymce.min.js',
'/static/mezzanine/js/tinymce_setup.js',)
Could you help ?
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.