PDA

View Full Version : CSS Styles



sbaptista
08-07-2007, 09:47 PM
Is it possible to create a CSS style element that can be accessible from the HTML Editor? Something like this, for example:


.terms { /* used for _inline_ words that are terms, definitions, etc. */
border: 1px solid #CCC;
background-color: #EEE;
display: inline-block;
font: 1em courier, serif;
}

royk
08-08-2007, 05:22 PM
You mean "accessible" as a button?

If it's just the styles you're looking to update, you can updated /skins/ace/_editor.css, /skins/ace/_edcontent.css, or /skins/ace/neutral/_content.css depending on what you're targetting.

sbaptista
08-09-2007, 07:15 PM
> You mean "accessible" as a button?

Yes, not as in accessibility. I was playing w/ TinyMCE in Drupal and TinyMCE has a "styles" dropdown that lists styles that you can apply to content. You can create your own styles w/in the template's CSS file and they will be displayed w/in the dropdown.

I think what I'm really asking is can this same support be added to the WYSIWYG HTML editor in Deki Wiki?

royk
08-09-2007, 09:48 PM
Currently there's no support for that, but it's definitely something to consider as a feature for Itasca.