Re: Blockquotes

  •  05-28-2004, 11:43 AM

    Re: Blockquotes

    Thanks for your quick reply,

     

    sorry I must be missing something in the documentation but:-

     

    I register a new button with the control

     

    and add the onclick attribute to be

     

    myNewImage.Attributes.Add("onclick", "_Format('myRichTextBox','blockquotes');")

     

    then in the _Format javascript function I am adding a new case/switch

    case "blockquotes":

    editor.document.execCommand('FormatBlock', true, '<blockquote>');

    break;

     

    but nothing happens when I click it

    am I doing something stupid ?

     

    regards

     

    marc

     

     

View Complete Thread