Skip to content

HTML import: Making span optional #33

@voidray

Description

@voidray

Currently elements have to be there for html to be loaded (otherwise there is an error). Would it make sense, to also allow formatting with <b>, <i>, <u>, <sup>, <sub> etc. when loading html? Saving to html would than use the span-tag (css), so it is only about compatibility when loading html.
I created a branch/commit in my fork with that change:
voidray@7a67e5a

What isn't adressed in this commit:

  • Whitespace: For example LibreOffice Writer adds line breaks (not <br>) when a document is saved as html. A browser would remove the line breaks and add a space instead, but the control would still have the line break.
  • Hyperlinks <a>: This should be adressed for all supported formats together (rtf, xaml, html). A first step could be supporting loading and saving. A second step could be adding a create/modify UI and a shortcut (CTRL+K for example). The ui could be like in other applications the LibreOffice (a window with Diplay name und actual hyperlink).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions