Invalid image 'align' attribute in rich text field

31 wyświetleń
Przejdź do pierwszej nieodczytanej wiadomości

tom.h...@indivirtual.com

nieprzeczytany,
27 lis 2015, 10:29:0827.11.2015
do Hippo Community
Hi all!

I've noticed that when I put an image in a rich text field and I want to align it, Hippo adds the align="" attribute to my <img>. That's invalid html, (deprecated since HTML 4.01 according to MDN). I'd like to have configurable classes to add to the <img> element, so that I can align the image with CSS.

Do you guys know if this is on the Hippo road map?

Thanks and kind regards,
Tom
img-alignleft.png

Martijn van der Vorst

nieprzeczytany,
27 lis 2015, 10:33:0527.11.2015
do Hippo Community, tom.h...@indivirtual.com
Looking through Old Jira issues this was a problem in the old Xinha editor as well, but was closed because CKEditor was being introduced:

Sadly this issue is still present in Hippo 10.1.0

Ramon Sistermans

nieprzeczytany,
7 sty 2016, 08:54:407.01.2016
do Hippo Community, tom.h...@indivirtual.com
Has there been an update on this?

Tom, (how) did you manage to solve this problem?

Ramon



Op vrijdag 27 november 2015 16:29:08 UTC+1 schreef tom.h...@indivirtual.com:

Martijn van der Vorst

nieprzeczytany,
7 sty 2016, 10:23:277.01.2016
do Hippo Community, tom.h...@indivirtual.com
Hi Ramon,
It's still being worked on by Hippo: CMS-9746
we have instructed our editors not to use the alignment dropdown and use block styles in CKEditor instead:
Regards,
Martijn
Odpowiedz wszystkim
Odpowiedz autorowi
Przekaż
Nowe wiadomości: 0