شريط أدوات التنسيق

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 للتأكد مرة أخرى من أن كل شيء تم إدخاله بشكل صحيح، ويبدو أنه كذلك. قمت بـ “إعادة بناء” التطبيق مرة أخرى… عدت إلى منتدياتي وما زالت خيارات شريط الأدوات غير ظاهرة.

لقد تفحصت الإعدادات للتأكد من تفعيل شريط الأدوات، وهو مفعّل.

في هذه المرحلة، لا أعرف ما الذي يجب فعله لاستكشاف المشكلة أو معرفة السبب وراء عدم ظهورها لي.

حتى جربت إلغاء التثبيت… ثم تثبيت “ProCourse Installer” الذي يتيح لك - تثبيت/إزالة الإضافات عبر واجهة المستخدم. ويظهر أن شريط تنسيق الأدوات مثبت لدي…

لكنني ما زلت لا أرى أي تحديثات في محرري.

ملاحظة أخرى… كان لدي موضوع مسودة في محرري. قمت بحذف مسودتي منذ ذلك الحين وحاولت التحديث… وفتح متصفحات مختلفة، وما إلى ذلك، وبغض النظر عن كل ما جربته… ما زلت لا أستطيع ظهور ميزات شريط تنسيق الأدوات هذا. :disappointed_face:

هل لديكم أي اقتراحات؟

إعجاب واحد (1)

لا أعرف ما الذي حدث، لقد أخطأت في شيء ما على GitHub، وقمت بدفع ترقية!

آسف على ذلك، وشكرًا لك على الإبلاغ!

6 إعجابات

شكرًا لك على ردك السريع بخصوص هذا الأمر @Steven!

لقد قمت بإلغاء تثبيت الإضافة، ثم أعدت إضافتها عبر مثبت إضافات ProCourse. لم يفرق ذلك شيئًا. ما زلت لا أستطيع رؤية خيارات الأزرار الجديدة. لكن بعد ذلك ذهبت إلى أدوات المطورين في متصفح كروم…

ثم انتقلت إلى Application > Clear Storage، ثم نقرت على خيار “Clear Site Data”…

الآن شريط الأدوات يعمل ويعرض جميع الإضافات الجديدة!

image

شكرًا لك مرة أخرى!!

ملاحظة: لم أحاول مسح بيانات الموقع قبل إلغاء تثبيت الإضافة، لذا ربما كان سيُحل الأمر إذا قمت فقط بمسح بيانات الموقع ¯\_(ツ)_/¯

4 إعجابات

واجهتُ أيضًا مشاكل مع تعطيل الإضافة بعد إعادة بناء الموقع قبل بضعة أيام. وقد حلّ إعادة البناء الجديد هذه المشكلة.

4 إعجابات

نعم، عدتُ بطريقة ما إلى النسخة السيئة من الإضافة. لا أعرف ما الذي فعلته بملفات اللغة الخاصة بي، لكنني سأكون أكثر حذراً في المستقبل. الغريب هو أنها كانت معطلة لمدة شهر ونصف ولم يلاحظ أحد ذلك حتى الآن :speak_no_evil:

4 إعجابات

@ستيفن،

في معظم الأوقات عند استخدام خاصية الطفو (float)، نقوم بطفو الصورة إلى اليمين.

هل توجد طريقة للتبديل بين اليمين واليسار باستخدام زر الطفو image؟

هل توجد طريقة لجعل الدالة floatr هي الافتراضية عند استخدام زر الطفو، بدلاً من floatl؟

إليك اقتراحًا أيضًا: قد يكون من الجيد إذا أمكنك الضغط باستمرار على مفتاح Ctrl أو Shift أو Command، ثم النقر على زر الطفو لاستخدام عكس الافتراضي.

  • على سبيل المثال: الافتراضي حاليًا هو “floatl” (طفو إلى اليسار). تخيل لو أمكنك الضغط على مفتاح وظيفي في لوحة المفاتيح أثناء النقر على زر الطفو للتبديل إلى عكس الطفو الافتراضي. (في هذه الحالة سيكون “floatr”). مجرد فكرة!
إعجاب واحد (1)