Re: [mezzanine-users] Styles lost in inline editor after saving

51 views
Skip to first unread message

Ken Bolton

unread,
Nov 14, 2012, 7:35:43 AM11/14/12
to mezzanine-users
Hi Holger,

Take a gander at http://mezzanine.jupo.org/docs/configuration.html#richtext-filter-level. If you navigate to http://localhost:8000/admin/conf/settings/, you will see a select field where you can make that change.

(Just waking up, so apologies if I misunderstood your question.)

best,
ken


On Wed, Nov 14, 2012 at 7:13 AM, Holger Drewes <holger...@gmail.com> wrote:
Hi,
first: I'm pretty new to Mezzanine (though not to Django/Python), maybe I'm missing something basic here.

I'm trying to create a new blog article (or a page) and want to insert an image aligned on the left side of the
page. Any time I'm saving the article all style information is lost:

After editing, aligning (no matter if with mouse right-click or via image menu):
<img style="float: left;" src="/static/media/uploads/screenshots/arte_mediathek_screenshot.png" alt="" width="250" height="191" />

After saving, re-opening editor:
<img src="/static/media/uploads/screenshots/arte_mediathek_screenshot.png" alt="" width="250" height="191" />

Is this a bug? I tried modifying the TinyMCE init configuration and deactivation the cleanup setting

Any idea?? I'm using Mezzanine 1.2.4/Django 1.4.2., browser didn't matter (tested Chrome and Firefox).

Greetings
Holger Drewes

Holger Drewes

unread,
Nov 14, 2012, 8:42:08 AM11/14/12
to mezzani...@googlegroups.com
Hi Ken,
thanks a lot, that does the trick. I was just stumbling over this setting as well, but I didn't know about the possibility to change it in the admin and tried editing the settings.py file, which didn't work.

A warning would be nice (don't know if you are contributor to Mezzanine?), maybe directly below the editor window, that at a certain richtext-filter-level, some (basic) features of the editor don't work. That is something someone doesn't expect at all with a fresh installation.

Another warning being nice as well would be something like "Flashplayer required", if you are on a browser with Flash not working and trying to upload a picture, I also searched my head of with that before knowing what was going on! :-)

Anyway: beside the start still being a bit rough: Mezzanine's looking really promising, looking forward to work more intensely with it!

Greetings
Holger

Ken Bolton

unread,
Nov 14, 2012, 9:48:30 AM11/14/12
to mezzanine-users
Lieber Holger,

Writing to this space is how I started contributing to Mezzanine, so don't sell your questions short! Anyone can fork the project at https://github.com/stephenmcd/mezzanine, make changes, and request that they be pulled in. Contributions, especially to the documentation, are always welcome. The fresh perspective you can bring to the project is greatly appreciated.

Viele Grüße,
Ken
Reply all
Reply to author
Forward
0 new messages