How do i modify the table pluginn so that content i table cells always will align top?
I know that i can change the vertical align i cell properties in the editor, but I really like it to do that as a standard when creating a new table and when expanding an exting table.
I know that i can change the vertical align i cell properties in the editor, but I really like it to do that as a standard when creating a new table and when expanding an exting table.
Re: Vertical align = top as table cell standard
Same issue anyone?
Hi Guys - I know this is an old thread - I really need to do this - anyone?
P.S. It's for the creation of an email
So the styles must be inline....
Sorted...
So here's the answer:
look for v=t.append(h('td'));
and add 'v.setStyle('vertical-align','top');'
in table.js
final: v=t.append(h('td'));v.setStyle('vertical-align','top');
If you want vertical-align
If you want vertical-align:top to be the default value, then set it in contents.css for every table cell.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
email creation requires an inline style
cool