Support » Plugins » text editor – remove align

  • anyone know if its possible to replace the ALIGN option in the image with a CLASS option instead?
    also, can anyone point in the direction of any info for adding an extra button to the text editor, Im looking to add a h1 button.

Viewing 10 replies - 1 through 10 (of 10 total)
  • – there’s some info here… but apparantly it’s easier if you’re not using the rich text editor…

    as far as the replacing of the align to class, i’ve always just clicked the HTML button and done it manually.

    thanks for the link, Ill have a read 🙂
    I need to swap the ALIGN for CLASS without using HTML as Im developing the site for someone and dont want them to have to modify any code.

    You could try finding the tinyMCE JS file itself, and modifying the HTML it inserts. Careful with this approach, though, it can be tricky.

    I don’t know much about javascript, so I couldn’t tell you how to do it, but the file ought to be in wp-includes/js/.

    I’ve got the same problem.
    I’m looking forward to a plugin which adds some buttons and functions to the tinymce.
    At least h1, h2, h3 and a extra float-button for imgaes.

    That would be great.

    STILL trying to swap the image ALIGN for CLASS on the tinymce editor. tried about 100 different approaches, been everywhere I can think of and still no joy 🙁
    someones gotta know where the image dialogue box defines the alignment stuff. I just need to change ‘align=right/left’ to ‘class=my_align_class’…

    very close to going postal with this one!!!

    anyone………. my head hurts………..

    As mentioned, I too just click on HTML button and find the <img> tag and add at the beginning class="alignright" (removing any align=) so it looks like:
    <img class="alignright" src= and blah-blah-blah.

    This doesn’t work for you?

    yeah m8 that would work (and does) but the site isnt for me and I need to avoid editing the html, unfortunatley.

    Maybe ImageManager would help then. Allows user to enter a class/title/etc. from it’s upload panel/window.

    I’ve described the solution (in German, but easy to understand with images and code) on TinyMCE anpassen

    Hy! since 2.1 we all have this nice new tinymce version, most things are way better, but one GIANT things drives me crazy:

    what do i have to change to let my clients choose the image behaviour class=”right” etc. for the align=”right” thingie in the tinymce editor? – without doing it manually in the code!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘text editor – remove align’ is closed to new replies.