Page MenuHomePhabricator

VisualEditor: Copy paste is not working for Math elements
Closed, ResolvedPublic

Description

screenshot of the error

Steps to reproduce:

1.Open a page using VE in Chrome browser.
2.Copy a math function or item from that page
3.Open another page with VE in FireFox
4.Paste the copied math item in this page

Observed Result:
The math item does not get copied and in the console there is an error appearing:
TypeError:Item is undefined

See the screenshot attached.


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2013-12-26_at_1.29.20_PM.png (548×1 px, 101 KB)

Details

Reference
bz58981

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:27 AM
bzimport set Reference to bz58981.

Not getting the error - presumably that got fixed, but the copy does not *appear* to do anything. When I run the target in debug mode, I see that we're getting mwMath entries in the model, and you can select them. They just don't render as anything.

you mean, its fine if the copied math math function does render on the other page?

(In reply to Rummana Yasmeen from comment #4)

you mean, its fine if the copied math math function does not render on the other
page?

*Does not*

Because , right now it is not rendering unless I save the page

No, I mean it renders fine for me.

Esanders claimed this task.
Esanders subscribed.

Fixed a while ago