Formatting toolbar

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

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

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

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

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

すべての手順に従ったのですが、追加ツールバーのオプションがサイトに表示されません。

Nano エディタに戻って入力内容を確認しましたが、問題なさそうです。アプリを再度「再構築」しましたが、フォーラムに戻ってもツールバーのオプションは表示されたままです。

設定を確認してツールバーが有効になっていることを確認しましたが、有効になっています。

この時点で、トラブルシューティングや表示されない理由を特定する方法がわかりません。

アンインストールを試した後、UI 経由でプラグインをインストール/削除できる「ProCourse Installer」をインストールしました。フォーマットツールバーがインストールされていることが示されています…

しかし、エディタに更新が反映されていません。

もう一点… エディタに下書きのトピック投稿がありました。その後、下書きを削除してページをリフレッシュしたり、異なるブラウザで開いたりしましたが、何をやってもこのフォーマットツールバーの機能が表示されません。:disappointed_face:

ご提案はありますか?

「いいね!」 1

何があったのか分かりません。GitHubで何か間違えて、アップグレードをプッシュしてしまいました!

ご迷惑をおかけして申し訳ありません。ご報告ありがとうございます!

「いいね!」 6

@Steven、迅速なご返信をありがとうございます!

プラグインをアンインストールし、ProCourse プラグインインストーラーを通じて再度追加しましたが、状況は変わりませんでした。新しいボタンオプションは依然として表示されませんでした。しかし、その後 Chrome の開発者ツールを開き…

次に「Application」>「Clear Storage」へ移動し、「Clear Site Data」オプションをクリックしました…

これでツールバーが正常に動作し、すべての新しい機能が表示されるようになりました!

image

再度ありがとうございます!!

: プラグインをアンインストールする前にサイトデータをクリアしようとはしませんでした。もしかすると、単にサイトデータをクリアしただけでも解決していたかもしれません ¯\_(ツ)_/¯

「いいね!」 4

数日前のリビルド後にプラグインが無効化される問題も発生していました。現在、新しいリビルドを行うことでその問題は解決しました。

「いいね!」 4

はい、どうやらプラグインの悪いバージョンに戻ってしまいました。ロケールファイルに何をしたのかはわかりませんが、今後はもっと注意します。不思議なことに、それが1ヶ月半も壊れていたのに、誰も気づかなかったことです :speak_no_evil:

「いいね!」 4

@Steven さん、

浮動(float)を使用する際、ほとんどの場合、画像を右側に配置しています。

image の浮動ボタンを使って、右と左を切り替える方法はありますか?

また、浮動ボタンを使用する際のデフォルト機能を floatl ではなく floatr に設定することは可能でしょうか?

追加の提案ですが、Ctrl キー、Shift キー、Command キーなどを押しながら浮動ボタンをクリックすると、デフォルトとは逆の配置が適用されるようにすると便利かもしれません。

  • 例えば、現在のデフォルトは「floatl」(左に浮動)です。キーボードの機能キーを押しながら浮動ボタンをクリックすることで、デフォルトとは逆の浮動(この場合は「floatr」)に切り替えられると良いですね。単なるアイデアです!
「いいね!」 1