swift-selection-search icon indicating copy to clipboard operation
swift-selection-search copied to clipboard

Paragraphs/newlines lost after search

Open CanisLupus opened this issue 4 years ago • 2 comments

Quoted from user @drmusti:


new proplem your translate without formating... no paragraph no
etc... Screenshot_2 Screenshot_3

Screenshot_4

Originally posted by @drmusti in https://github.com/CanisLupus/swift-selection-search/issues/226#issuecomment-752341289

CanisLupus avatar Dec 30 '20 10:12 CanisLupus

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.

CanisLupus avatar Dec 30 '20 10:12 CanisLupus

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.

drmusti avatar Dec 30 '20 12:12 drmusti