-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hi,
I know this plugin has not been updated in a long time. However a cool feature would be support for inline text-formatting. As of now all formatting (strong, italic, headings, etc.) is ignored in the html-export.
To my understanding this happens because the getLineHTMLForExport.text does not return the text/content with actual formatting tags. However getLineHTMLForExport.lineContent does. This then becomes a question of 'offsetting' the charPos according to tag. Here i'm running against the wall.
original:
newLineHTML += _getHTMLString(authorName, color, context.text.substring(charPos, charPos + author.chars));
using lineContent:
newLineHTML += _getHTMLString(authorName, color, context.lineContent.substring(charPos, charPos + author.chars));
Any ideas?
Thanks and Cheers,
Lasse