How does one create an inline quote? I've passed by some comments about them here in the forums but I can't find anything via search, probably because I'm using the wrong term.

What I'm looking for is the ability to put some text into the body of a node which is indented a bit on both sides, and maybe formatted a bit differently. I'm not sure if this is a theme capability, or if it's a module, or a function of the editor (in this case fckeditor)?

Comments

matkeane’s picture

Hi,

Sounds like you're talking about the <blockquote> tag, which you can insert from the FCKeditor interface and then style as you please using CSS - by default most browsers add left and right indent, but you can modify this as you want.

pengi’s picture

Yes, both you of got it, blockquote. I don't see that in the fckeditor interfact (as a button) but I can manage by inserting via plain text if I need to. If there is a fckeditor button that does it, what's it look like? I've allowed the full drupal set of buttons for the editor and full html for the input format. It must be staring me in the face?

matkeane’s picture

Hi,

The blockquote button should be in the 'drupal full' set of buttons, I think (if not, you may need to check the fckeditor.config.js file) - it looks like a large left double quote, and might be in the same group as the indent/outdent buttons.

pengi’s picture

No new icons appear when I unrem those lines. DrupalFull is the toolbar I'm using. I've never touched fckeditor.config.js before and must be doing something wrong but can't see what? I'm expecting the drupal page break and blockquote icons. Using fckeditor 2.6x. In part:


FCKConfig.ToolbarSets["DrupalFull"] = [
['Source'],
['Cut','Copy','Paste','PasteText','PasteWord'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
//['OrderedList','UnorderedList','-','Outdent','Indent'],
//as of FCKeditor 2.5 you can use also 'Blockquote' button
['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight'],
['Link','Unlink','Anchor'],
//['Image','Flash','Table','Rule','SpecialChar','DrupalBreak'],
//uncomment this line to enable teaser break and page break buttons
//remember to load appropriate plugins with FCKConfig.Plugins.Add command a couple of lines below
['Image','Flash','Table','Rule','SpecialChar','DrupalBreak','DrupalPageBreak'],
'/',
['FontFormat','FontName','FontSize'],
['TextColor','BGColor']
] ;
matkeane’s picture

Hmm, well, it should be showing then. One thing that has caught me out before is that the browser (especially Firefox) may be cacheing the previous Javascript config file, so you might need to clear the cache and hammer on shift-refresh before your changes show up.

davidlark’s picture

The HTML4 tag for an inline quotation is 'q' . This is not enabled in the default filtered HTML filter. You can add it to the list of allowed tags, or create a new filter. I'm not a FCKeditor user, but in BUeditor you would create a button for the tag.

pragna’s picture

I want to add option "Insert quote" and "remove quote" in context menu ...........
if any one has any idea then plz help me ..... I have urgent Task

Pragna J Bhalsod