• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

Copy&pasting & select-quoting [plain] tag doesn't work

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
If you select , and click quote/reply in the pop-up this strips the plain tags and leaves a dangling color tag. This also applies to copy & paste support.

In XF\BbCode\Renderer\Html::addDefaultTags();
PHP:

کد:
$this->addTag('plain', [
    'replace' => ['', ''],
]);
This should be;
PHP:

کد:
$this->addTag('plain', [
    'replace' => ['<span class="bbPlain">', '</span>'],
]);

Then the paste javascript handler can convert span.bbPlain into a [plain][/plain] tag wrappers, and...

Read more
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا