2011-07-12, 19:51:39
dominionit Wrote:cant you in the page edit change the hmtl directly and let this quoted text section inherit from class that you manipulate via css ? then you have the control you need ?
TF? I didn't get anything... And what does 'inherit' means??
mvlcek Wrote:TDT-Alpha Wrote:Hi there,
I'm working on my CCW (Client Care Website) and I need some plugin that will look similar to the following image: (found on Google)
But the thing is, it cannot be just inserted image, it won't look good, and will be harder to make on many many pages, I need it like a tag...
...
Can someone think about an idea on how to make this?
Add custom styles to your WYSIWYG editor like described here.
I suggest a definition like this:
Then add appropriate styles to your css file, e.g.:Code:{ name : 'Quote', element : 'p', attributes : { 'class' : 'quote' } },
Code:.quote {
background-image: ...; /* for the quotes */
color: green;
font-style: ...;
...
}
Doing...
Where should I add the {define} thingy? When I put it in the config.js (inside admin\template\js\ckeditor) the whole editor disappears...
http://Blog.TDT-Alpha.com/
(Website will be replaced soon, with an image database made with GS)
(Website will be replaced soon, with an image database made with GS)