swift-selection-search
swift-selection-search copied to clipboard
Paragraphs/newlines lost after search
Quoted from user @drmusti:
new proplem your translate without formating... no paragraph no
etc...
Originally posted by @drmusti in https://github.com/CanisLupus/swift-selection-search/issues/226#issuecomment-752341289
Additional notes: This doesn't happen when using the context menu search; only with the popup. This is related to the different ways the selected text is acquired when using the popup vs the context menu. The latter gets the selection as formatted by the WebExtensions context menu API.
yes you're right but other addons with popup no proplem. example: Selection Context Search url: https://addons.mozilla.org/tr/firefox/addon/selection-context-search/
example 2 : https://addons.mozilla.org/tr/firefox/addon/rich-select-menu/
more examples have got. with popup and no proplem. Sincerely.