Barra de herramientas de formato

Do the buttons appear in the composer?

In the plugin page it’s considered deactivated in my forums as well but everything works fine anyway

no, nothing is there, seems the tool bar takes no effects.

Does a hard refresh in the web browser make it appear?

Can you share the link of your forum in DM if it’s not sensitive?

I don’t see what could cause this issue :thinking:

image

Sorry, seems only the color button is not working, I can still see the flush-right, flush-center, etc.

But there is no color button now.

The justify button isn’t there also. Can you try to deactive float left, center, align right buttons to see if justify and color appear?

Hi @Steven - just installed this plugin, reloaded in my browser (Safari), and didn’t see any part of the toolbar.

Just as I was writing this, I decided to retry in a different browser, that I don’t usually use with my forum (FireFox- no good reason, just not what I usually use.) Magically everything was there. I edited a post and went back to Safari. The post I had just edited didn’t have the float. A reload later and it did… and then the toolbar showed up in the composer for Safari(!).

I had reloaded various pages from Safari, none got it working. My guess is I should have force cleared all of Safari’s cache’s (for my forum)- obviously something wasn’t getting loaded by Safari.

1 me gusta

Thanks for your message

The plugin was broken, but it’s weird it kinda worked for you, I fixed it in a hurry. Let me know if everything works fine now, on all browsers


To everyone

I had some issue with the options where we choose which bbcode appear in the toolbar. I’m quite busy at the moment so I had to delete these options for now, the plugin is fixed but every button will be on the toolbar even though you decided to hide them before.

Until I have time to fix everything properly, everyone can select some lines to hide the buttons, use the css section on the Customize section of the admin panel to add the css codes. You can add these lines in:

Common : to hide the button on desktop and mobile
Desktop : hide the button only on desktop
Mobile : hide the button only on mobile

/* 
FORMATTING TOOLBAR TEMPORARY FIX
USE SOME OF THESE LINES TO HIDE 
THE RELATED BUTTON IN THE TOOLBAR
*/

/* UNDERLINE BUTTON */
.d-editor-button-bar .underline_ui_button {
    display: none;
}

/* IMAGE BUTTON */
.d-editor-button-bar .addimg_ui_button {
    display: none;
}

/* FLOAT LEFT BUTTON */
.d-editor-button-bar .floatl_ui_button {
    display: none;
}

/* ALIGN LEFT BUTTON */
.d-editor-button-bar .left_ui_button {
    display: none;
}

/* ALIGN CENTER BUTTON */
.d-editor-button-bar .center_ui_button {
    display: none;
}

/* ALIGN RIGHT BUTTON */
.d-editor-button-bar .right_ui_button {
    display: none;
}

/* JUSTIFY BUTTON */
.d-editor-button-bar .justify_ui_button {
    display: none;
}

/* COLOR BUTTON */
.d-editor-button-bar .color_ui_button {
    display: none;
}

/* SIZE BUTTON */
.d-editor-button-bar .size_ui_button {
    display: none;
}

Sorry for the inconvenience everyone, I’ll try to find a solution asap :raised_hands:

3 Me gusta

This plugin just wasn’t working with Daemonite Material Theme

So it might not even be the fault of this plugin, but had to stop using it.

Wish Diiscourse would include text size and color into core. How are users supposed to create headers without using BBcode?

This can be done with markdown. Have a look at Markdown Tutorial - Headings. The whole tutorial is worth going through.

I just tested it, it is indeed the theme that breaks the plugin;

You can edit the theme to delete the content of the </head> section, but it might break some things in the theme.

It seems that this theme was made with the old way of managing the font-awesome icons and it might break with any plugin or theme component that uses these icons.

1 me gusta

Seems, the toolbar setting is gone.
I can’t find this
image

All what I see is
image

and the toolbar is too long for me now. I don’t need somany tools in the toolbar.


You see the toolbar is usually too long, can we simply fold the tools into “Options” to keep the editing window and the preview with equal width?

See 5 posts above you.

3 Me gusta

I’m sorry about that, a recent Discourse upgrade broke these options and I didn’t find a solution with the plugin, so for now I recommand using css to hide buttons.

Develop this post to see the css code to use. You can hide buttons on desktop, mobile or both.

3 Me gusta

He seguido todas las instrucciones y las opciones de la barra de herramientas de adición no aparecen en mi sitio.

Volví al editor nano para verificar que todo se ingresó correctamente, y parece que fue así. “Reconstruí” la aplicación una segunda vez… regresé a mis foros y las opciones de la barra de herramientas siguen sin aparecer.

He revisado la configuración para asegurarme de que la barra de herramientas esté habilitada, y lo está.

En este punto, no sé qué hacer para solucionar el problema o averiguar por qué no se muestra para mí.

Incluso intenté desinstalar… luego instalar el “ProCourse Installer”, que permite instalar/quitar plugins mediante la interfaz de usuario. Muestra que tengo la barra de herramientas de formato instalada…

pero aún no veo ninguna actualización en mi editor.

Otra nota… tenía un borrador de tema en mi editor. Desde entonces eliminé el borrador e intenté actualizar… abriendo diferentes navegadores, etc., y sin importar lo que intenté… aún no puedo hacer que aparezcan las funciones de esta barra de herramientas de formato. :disappointed_face:

¿Alguna sugerencia?

1 me gusta

No sé qué pasó, cometí un error con GitHub, ¡subí una actualización!

Disculpa por ello y gracias por informarlo.

6 Me gusta

¡Gracias por tu rápida respuesta, @Steven!

Desinstalé el complemento y lo volví a agregar mediante el Instalador de Complementos de ProCourse. Esto no hizo ninguna diferencia. Todavía no podía ver las nuevas opciones de botón. Pero luego fui a las Herramientas para desarrolladores en Chrome…

Luego fui a Aplicación > Borrar almacenamiento y hice clic en la opción “Borrar datos del sitio”…

¡Ahora mi barra de herramientas funciona y muestra todas las nuevas adiciones!

image

¡Gracias de nuevo!

Nota: No intenté borrar los datos del sitio antes de desinstalar el complemento, así que podría haber funcionado si solo hubiera borrado los datos del sitio ¯\_(ツ)_/¯

4 Me gusta

También tuve problemas con el plugin deshabilitado después de una reconstrucción hace un par de días. Realizar una nueva reconstrucción ahora solucionó el problema.

4 Me gusta

Sí, de alguna manera volví a la versión mala del plugin. No sé qué hice con mis archivos de idioma, pero tendré más cuidado en el futuro. Lo raro es que estuvo roto durante 1 1/2 mes y nadie lo notó hasta entonces :speak_no_evil:

4 Me gusta

@Steven,

La mayoría de las veces que usamos la propiedad float, flotamos una imagen hacia la derecha.

¿Existe alguna forma de alternar entre derecha o izquierda usando el botón de float image?

¿Hay alguna manera de hacer que floatr sea la función predeterminada al usar el botón de flotación, en lugar de floatl?

Aquí va una sugerencia también. Sería agradable si pudieras mantener presionada la tecla Ctrl o Shift, o Command, etc., y luego hacer clic en el botón de float para usar lo opuesto al valor predeterminado.

  • Por ejemplo: actualmente el valor predeterminado es “floatl” (flotar a la izquierda). Imagina que pudieras mantener presionada una tecla de función en tu teclado mientras haces clic en el botón de float, para alternar al opuesto del float predeterminado (en este caso sería “floatr”). ¡Solo una idea!
1 me gusta