Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-23665

Allow relative image urls embedded in Text items to be resolved against a specified base URL.

    XMLWordPrintable

Details

    Description

      Currently embedded links in rich text are resolved against the URL of the text item. Relative links in text loaded from an outside source are likely to be relative to that source though not the item so it should be possible to specify that source URL so the links can be resolved correctly.

      Something like:

      Text {
          text: reader.text   // some object that reads text from a file/network.
          baseUrl: reader.source
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            denexter Andrew den Exter (closed Nokia identity) (Inactive)
            denexter Andrew den Exter (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes