You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Links need to be updated (make absolute on the .page instance) - pb, during import we do not know the target .page host name thus the default import cannot do it and it is responsibility of the dev to do it. We should update the document to describe the todos and provide a makeLinksAbsolute helper method.
The text was updated successfully, but these errors were encountered:
kptdobe
changed the title
[import] Document links update and provide helper function
[import] Automatically update links
Aug 20, 2024
Quickly looked into it, the meta property approach is not a good option: the property would have to be injected into the static html files of the Importer UI (which is ugly) and would also imply that the import.js knows that in its "execution context" there is this meta property. Then if you want to use the import.js in a different context, like a Node.JS importer, you need to make sure it provides this meta. Not nice.
Links need to be updated (make absolute on the .page instance) - pb, during import we do not know the target .page host name thus the default import cannot do it and it is responsibility of the dev to do it. We should update the document to describe the todos and provide a
makeLinksAbsolute
helper method.The text was updated successfully, but these errors were encountered: