Education-Numerique / authoring.js

Authoring environment for lxxl
Other
3 stars 4 forks source link

Change default table style #165

Closed dmp42 closed 11 years ago

dmp42 commented 11 years ago

Although nothing has been specified on this let's have a default style on tables (preview and edit) that shows a light cell-border, table-border, and 5px cell-padding

JBTouchard commented 11 years ago

Nous préférons les default style suivants (class="tableau") :

table.tableau {background-color: #EEEEEE; border:none; padding:10px;} table.tableau td {padding:10px; vertical-align:top;}

"Although nothing has been specified on this..."

mmm...

If you implement TinyMCE (our reco), along with the table creation, you have a fairly exhaustive configuration modal ... I would have expected similar possibilities from Redactor as it is suposed to be "much better" than TinyMCE. (I know that I validated the choice of Redactor !)

tinyMCE

tinyMCE2

dmp42 commented 11 years ago

"If you implement TinyMCE (our reco), along with the table creation, you have a fairly exhaustive configuration modal ...

Along with numerous problems (specific to Tinymce) and impossibility to implement some of the advanced features you wanted. No solution is perfect.

I know that I validated the choice of Redactor !

Indeed.

dmp42 commented 11 years ago

Manu: I added the default style in the preview. Can you add it in the editor?

table {
  background-color: #EEEEEE; border:none; padding:10px;
}

table td {
  padding:10px;
  vertical-align:top;
}
dmp42 commented 11 years ago

Fixed