You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The VE Wikicode Editor (also called 2017 editor) uses the VE surface. Results should be roughly the same.
VE actually uses many editors, that doesn't seem to be feasible to do with any browser API. VE Wikicode Editor seems one contenteditable. So that might work... But probably won't either.
Results for wikicode on Windows (Firefox) are similar to #1.
Multiline: Two lines are added in-between all selected lines. Changes are not registered (previewing changes doesn't show inserted tag).
Singleline: Seems to work fine. Both when single word is selected and many items within one line (image below).
No selection: Works fine.
Note for testing make sure library is loaded on Wikipedia.
The VE Wikicode Editor (also called 2017 editor) uses the VE surface. Results should be roughly the same.
VE actually uses many editors, that doesn't seem to be feasible to do with any browser API.
VE Wikicode Editor seems one
contenteditable
. So that might work... But probably won't either.Results for wikicode on Windows (Firefox) are similar to #1.
Note for testing make sure library is loaded on Wikipedia.
Then use code from #1.
The text was updated successfully, but these errors were encountered: