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

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

editor has janky new-line behaviour with after copy & paste

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

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
Suppose the editor has this contents
Code:

کد:
<p>1</p>
<p><br/>3</p>
This renders as;
Code:

کد:
1

3

However if you press the delete key after '1'; the editor results in
Code:

<p>13</p>
And not the expected;
Code:

کد:
<p>1</p>
<p>3</p>

If there is a trailing <br> in the <p>, it is effectively invisible; then you need to press the delete key multiple times after the '1' value to actually delete the newline.

It looks like normalizePaste br normalization code...

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

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

عقب
بالا