Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Request] Quoted Text Plugin (Details inside)
#4
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)
[Image: wordpress.gif]
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:
Code:
{ name : 'Quote', element : 'p', attributes : { 'class' : 'quote' } },
Then add appropriate styles to your css file, e.g.:
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)


Messages In This Thread
[Request] Quoted Text Plugin (Details inside) - by TDT-Alpha - 2011-07-12, 19:51:39



Users browsing this thread: 1 Guest(s)