Opened 5 years ago

Closed 5 years ago

#11685 closed New Feature (wontfix)

Bidi support for block quote.

Reported by: Marek Lewandowski Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

We may enrich block quote bidi compatibility, by placing border at right hand side if it's in right-to-left block.

  1. open any sample with CKEditor (i.e. samples/replacebyclass.html)
  2. use following source code:
    <div dir="rtl">
    <p>Line 1.</p>
    
    <blockquote>Some random quote.</blockquote>
    
    <p>Ending line.</p>
    </div>
    

Expected result:
Produced source code: Quote border (decoration) should be at right hand side.

Current result:
Code without checked attribute: For both text directions it's at left hand side.

Change History (2)

comment:1 Changed 5 years ago by Piotrek Koszuliński

This is a tricky thing, because it cannot be solved by CSS. For example you may have:

<div dir="rtl">
  <div dir="ltr">
    <blockquote />
  </div>
</div>

Too much for CSS.

It could work when entire editor has changed RTL and... it works :) See default rules in contents.css.

So in my opinion we can close this ticket as won't fix. It's simply too much for poor old CSS.

Last edited 5 years ago by Piotrek Koszuliński (previous) (diff)

comment:2 Changed 5 years ago by Jakub Ś

Resolution: wontfix
Status: newclosed

I fully agree with @Reinmar. Counter example is very good.
Editor shouldn't be too smart and IMHO users should have some basic understanding of what they are doing.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy