¿Necesita subrayar o justificar texto en WordPress?
WordPress solía tener botones para justificar y subrayar texto en el editor visual. Sin embargo, han sido eliminados y ya no están disponibles.
En este artículo, le mostraremos cómo añadir subrayado y justificar botones de texto en WordPress.
¿Por qué añadir botones para subrayar y justificar texto en WordPress?
¿Te gustaría recuperar los botones de subrayado y justificado que faltaban al editar entradas y páginas en tu sitio web WordPress? Estos botones fueron eliminados del editor de entradas en WordPress 4.7, pero por suerte hay una manera de traerlos de vuelta.
Sin embargo, hay algunas razones por las que debería considerar no subrayar ni justificar texto en su sitio web.
En primer lugar, el texto subrayado puede parecer un enlace, y los usuarios pueden sentirse frustrados cuando lo que creen que es un enlace no funciona. Además, el texto justificado puede dificultar la lectura del contenido, sobre todo en pantallas pequeñas.
Dicho esto, echemos un vistazo a cómo añadir subrayado y justificar botones de texto en WordPress. Le mostraremos cómo hacer esto para el bloque y el editor clásico. También le mostraremos cómo subrayar y justificar texto usando atajos de teclado, sin necesidad de un botón.
- Subrayado y justificación de texto mediante atajos de teclado
- Cómo añadir botones para subrayar y justificar texto al editor de bloques
- Cómo añadir los botones Subrayar y Justificar texto al editor clásico
Subrayar y justificar texto con atajos de teclado
No necesitas un plugin o iconos en la barra de herramientas para subrayar o justificar texto en WordPress. En su lugar, puede utilizar simplemente un atajo de teclado.
Para subrayar texto, sólo tienes que seleccionar el texto que quieres subrayar en WordPress y pulsar Ctrl+U en Windows o Comando+U en Mac. Y ya está. Este atajo de teclado funcionará tanto con el editor de bloques como con el clásico.
Hay otro atajo de teclado para justificar texto. Basta con seleccionar el texto y pulsar Mayús+Alt+J en Windows o Comando+Opción+J en Mac para justificarlo.
Sin embargo, la combinación de teclado para justificar texto solo funcionará con el editor clásico. Si utilizas el editor de bloques, entonces no podrás justificar texto con un atajo de teclado y deberás utilizar el método de plugins que se indica a continuación.
Añadir los botones Subrayar y Justificar texto al editor de bloques
En primer lugar, tendrás que instalar y activar el plugin Gutenberg Block Editor Toolkit – EditorsKit. Para más detalles, consulta nuestra guía paso a paso sobre cómo instalar un plugin de WordPress.
Una vez activado, el plugin hará que el subrayado, la justificación y otras características de formato estén disponibles al usar el editor de bloques de WordPress.
Estos iconos adicionales no pueden añadirse directamente a la barra de herramientas del editor de bloques, pero encontrará las opciones adicionales al hacer clic en la flecha hacia abajo “Muestra más herramientas de bloque” de la barra de herramientas.
Para subrayar texto, primero debe seleccionarlo, luego hacer clic en la flecha desplegable “Muestra más herramientas de bloque” y, a continuación, en “Subrayar” del menú desplegable.
Para justificar un párrafo, asegúrese primero de que el cursor está en ese párrafo. A continuación, haga clic en la flecha desplegable “Muestra más herramientas de bloque” y seleccione “Justificar” en el menú desplegable.
Añadir los botones Subrayar y Justificar texto al editor clásico
Si utiliza el editor clásico, debería empezar por instalar y activar el plugin Advanced Editor Tools. Para más detalles, consulta nuestra guía paso a paso sobre cómo instalar un plugin de WordPress.
Una vez activado, tendrás que ir a Ajustes ” Herramientas avanzadas del editor (TinyMCE Advanced) en tu menú de administrador. A continuación, deberá hacer clic en la pestaña “Editor clásico (TinyMCE)” en la parte superior de la página.
Verás un aviso previa del editor clásico de WordPress. Debajo de la vista previa, le mostrará todos los botones no utilizados.
Ahora tienes que arrastrar y soltar los botones de subrayar y justificar texto del cuadro ‘Botones no utilizados’ al editor de entradas.
Cuando haya terminado, asegúrese de hacer clic en el botón “Guardar cambios” situado en la parte superior de la pantalla para guardar los nuevos ajustes.
Ahora, al crear o editar una entrada o página de un blog de WordPress, los nuevos botones de formato estarán disponibles en la barra de herramientas del editor clásico.
Esperamos que este tutorial te haya ayudado a aprender cómo añadir botones para subrayar y justificar texto en WordPress. Puede que también quieras aprender por qué WordPress es gratis, o comprobar nuestra lista de plugins imprescindibles para hacer crecer tu sitio.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Jiří Vaněk says
Does text alignment using ‘justify’ have any impact on a website’s content ranking, for instance by Google? Or is it just that it might create unnatural gaps in the text for some people? I’m wondering if using ‘justify’ could affect content evaluation in any way. Personally, I don’t use justify, but sometimes website owners request it.
WPBeginner Support says
Using Justify should not affect your site’s rankings and it is used by some sites to prevent an unnatural look depending on the theme that the site uses.
Administrador
The Venetian Box says
GREAT POST!!!! You helped me SO much, thank you!!!
WPBeginner Support says
You’re welcome, glad you like our content
Administrador
Achraf NAJIH says
It worked. Thanks.
Crina Caba says
You answered my question… Thank you.
Darrin says
How to add justify without plugin ?
any idea ?
thanks
mourad says
Thank you so much for the help
Reinette says
Thank you so much! TinyMCE is a super little plugin and I love what it’s done for my text editor.
Again, thank you!
Robert Lindquist says
Thank you very much!!
Ajay says
Thank You So much
Darren says
Thanks for this! It has been driving me crazy!
Gibran Dimasagung says
Thanks bro
Sally Eilers says
….signalling the demise of WordPress.
James says
This doesn’t work on my blog. When I click plugins I go to ‘Jetpack by WordPress.com’ and there is nothing there similar to what you are talking about!!!!
Aayush Bhaskar says
You must be going to Site Dashboard instead of going to Network Admin Area. Click on the Home Icon and Select Network Admin>plugins. There will be Add new, Network Activate etc options available.
chandrashekhar says
Thank man ! it was of great help
Sampath S says
Alternately, you can just use keyboard shortcuts:
Justify alignment – Alt +Shift +J
Underline – Ctrl+U
David says
Thank you. This is a simple solution. I don’t need more plugins on my site.
Leslie says
Thank you so much for this simple solution! No need to mess with plugins!!!
Dipo Putra says
Question is, Why they remove it?
HARISH NEGI says
Thank You very much. Solved my Problem.
Joey Bangun says
Thanks so much!
from Indonesia
Praboda Madushan says
Thank you very much!
Sharyn Wise says
You are an amazing WONDERFUL stupendously great FANTASTIC person!
I have just discovered these had gone missing!
THANK YOU!
David says
A very handy and helpful little tip… Thank you!
Sarah says
Don’t really need a plugin for that. In Mac Ctrl+Alt+J and text justified,
But why wordpress decided to remove the icon from the menu ?
nadia says
Thank you so much! I added the Re-add Text Underline and Justify plugin and it worked perfectly.
WPBeginner Support says
Hi nadia,
Glad you found it helpful Don’t forget to follow us on Facebook for more WordPress tips and tutorials.
Administrador
A says
For me, this helped:
Select the text you wish to justify (ctrl+A)
Press Shift+Alt+J
And wordpress then justifies the text!
Amrit Singh says
You’re the real mvp. thanks for the trick
Aldo Retana says
This was more useful, thanks!
Richmond says
Yes!, You are the real MVP. Awesome
Thomas says
Why did they remove the option to justify or underline text anyway? Was it causing issues somewhere along the line?
Harpreet Kumar says
Realy an awesome article
louis says
Good! It’s interesting. Under certain conditions, this may be useful!
On the other hand, I think the underlining should be avoided in all web documents except for creating hyperlinks. This can sometimes cause confusion given the hyperlinks. As for the justification function of the text, this very often gives unexpected results.
It is not for nothing that these two options have been eliminated. Use with parsimony in VERY rare conditions.
Sorry about my poor english.