D28854: [KRichTextWidget] Add support for headings

Laurent Montel noreply at phabricator.kde.org
Sat Apr 18 14:00:09 BST 2020


mlaurent added inline comments.

INLINE COMMENTS

> poboiko wrote in krichtextedit.cpp:346
> Yes, that's true. I agree it's a bit confusing, but that's the case with HTML too, which I had in mind (see screenshot, it's Chrome)
> F8241667: scr1.png <https://phabricator.kde.org/F8241667>
> 
> For markdown, it seems like there are only 5 levels, 5th having the same size as normal text (6th level gets ignored, that's Okular)
> F8241670: scr2.png <https://phabricator.kde.org/F8241670>
> 
> I guess we probably can follow the Markdown way and bound it with 5, just to avoid confusion.

But if you insert html text from html with title6 how it will work if it just supports h5 ?

REPOSITORY
  R310 KTextWidgets

REVISION DETAIL
  https://phabricator.kde.org/D28854

To: poboiko, #frameworks, mlaurent, ahmadsamir, dfaure
Cc: abstractdevelop, kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200418/0342127e/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list