Title: text editor &#8211; remove align
Last modified: August 18, 2016

---

# text editor – remove align

 *  [scotty666](https://wordpress.org/support/users/scotty666/)
 * (@scotty666)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/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)

 *  [ladydelaluna](https://wordpress.org/support/users/ladydelaluna/)
 * (@ladydelaluna)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/text-editor-remove-align/#post-414099)
 * [http://wordpress.org/support/topic/74130?replies=10](http://wordpress.org/support/topic/74130?replies=10)–
   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.
 *  Thread Starter [scotty666](https://wordpress.org/support/users/scotty666/)
 * (@scotty666)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/text-editor-remove-align/#post-414123)
 * 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.
 *  [maerk](https://wordpress.org/support/users/maerk/)
 * (@maerk)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/text-editor-remove-align/#post-414126)
 * 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/.
 *  [Robert](https://wordpress.org/support/users/hartlrobert/)
 * (@hartlrobert)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/text-editor-remove-align/#post-414368)
 * 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.
 *  Thread Starter [scotty666](https://wordpress.org/support/users/scotty666/)
 * (@scotty666)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/text-editor-remove-align/#post-414424)
 * 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………..
 *  [yosemite](https://wordpress.org/support/users/yosemite/)
 * (@yosemite)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/text-editor-remove-align/#post-414425)
 * 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?
 *  Thread Starter [scotty666](https://wordpress.org/support/users/scotty666/)
 * (@scotty666)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/text-editor-remove-align/#post-414426)
 * yeah m8 that would work (and does) but the site isnt for me and I need to avoid
   editing the html, unfortunatley.
 *  [yosemite](https://wordpress.org/support/users/yosemite/)
 * (@yosemite)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/text-editor-remove-align/#post-414427)
 * Maybe ImageManager would help then. Allows user to enter a class/title/etc. from
   it’s upload panel/window.
 *  [Robert](https://wordpress.org/support/users/hartlrobert/)
 * (@hartlrobert)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/text-editor-remove-align/#post-414440)
 * I’ve described the solution (in German, but easy to understand with images and
   code) on [TinyMCE anpassen](http://blog.suchmaschinen-optimierungen.info/wordpress-tinymce-editor-anpassen-erweitern)
 *  [keasone](https://wordpress.org/support/users/keasone/)
 * (@keasone)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/text-editor-remove-align/#post-414471)
 * 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.

## Tags

 * [format](https://wordpress.org/support/topic-tag/format/)
 * [text](https://wordpress.org/support/topic-tag/text/)

 * 10 replies
 * 6 participants
 * Last reply from: [keasone](https://wordpress.org/support/users/keasone/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/text-editor-remove-align/#post-414471)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
