wysiwyg-editor icon indicating copy to clipboard operation
wysiwyg-editor copied to clipboard

html.getSelected() returns undefined

Open michael-koch787 opened this issue 2 years ago • 1 comments

Expected behavior.

html.getSelected() returns selected string

Actual behavior.

undefined is returned

Steps to reproduce the problem.

See jsFiddle. Set html content via 'set html'-button. Check html.getSelected() return by clicking 'get selection'-button.

Editor version.

4.0.10

OS.

Windows 10

Browser.

Chrome 100.0.4896.127

michael-koch787 avatar Apr 28 '22 12:04 michael-koch787

Hey @michael-koch787

Did you find a solution? I get the same issue when I select more than 1 paragraph

maximesahagian avatar May 17 '22 08:05 maximesahagian

@maximesahagian Seems to be fixed as of version 4.0.15.

michael-koch787 avatar Nov 17 '22 14:11 michael-koch787