baechoofarm/sketchbox

Case handling of pasted content

Closed this issue · 6 comments

Case handling of pasted content

Problem : When copy Texts over two lines in view mode and paste it in edit mode, space line insert between lines.
제목 없음

Now We solved this problem by checking empty block and deleting it when insert Text. (8ac734d)

제목 없음

Problem : when copy link(inner paragraph with other texts) in view mode and paste it in edit mode, it didn't wrap link text.
제목 없음

Now We solved right before problem.
From now on, Sketchbox wrap link whick between texts.
제목 없음

Problem : when copy link(that isn't same view text and real url) in view mode and paste it. It didn't wrapped as link.
제목 없음

Now We solved this problem. Added deserialize util function and apply it in onPaste handler of Sketchobx.
제목 없음