D14738: Add the markdown entry
Nikita Sirgienko
noreply at phabricator.kde.org
Tue Aug 21 14:39:36 BST 2018
sirgienko added a comment.
In D14738#312829 <https://phabricator.kde.org/D14738#312829>, @kqwyf wrote:
> In D14738#312759 <https://phabricator.kde.org/D14738#312759>, @sirgienko wrote:
>
> > Do you talk about `acceptRichText` function?
>
>
> Yes. My opinion is to override it and let it return false.
> Take **Bold** for example. When the user selects a string (e.g. `text`) and clicks the button **Bold**, he/she may expect that the string becomes `**text**`, which is difficult to implement in the current architecture of Cantor, I think.
I see. So, I think, MarkdownEntry could inherit from WorksheetEntry and return false for the rich text function, as you have suggested.
REPOSITORY
R55 Cantor
REVISION DETAIL
https://phabricator.kde.org/D14738
To: kqwyf, pino, #cantor, filipesaraiva
Cc: sirgienko, filipesaraiva, pino, asemke, kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180821/bd5b5431/attachment.html>
More information about the kde-edu
mailing list