Closed optilude closed 5 years ago
Using copy_html() on macOS results in plain text being copied. The reason is that the delegation to the underlying richxerox API is not correct.
copy_html()
richxerox
copy_html = functools.partial(richxerox.copy, format='html')
however the call signature of richxerox.copy() is:
richxerox.copy()
def copy(text=None, clear_first=True, **kwargs):
You are meant to do copy(html=some_html). There is no format= kwarg.
copy(html=some_html)
format=
I see. Yes, I think I assumed the interface was symmetric with the paste interface, where format="html" is the signal.
paste
format="html"
Thanks for the report. 2.0.1 is releasing now.
Using
copy_html()
on macOS results in plain text being copied. The reason is that the delegation to the underlyingrichxerox
API is not correct.however the call signature of
richxerox.copy()
is:You are meant to do
copy(html=some_html)
. There is noformat=
kwarg.