我正在爲Weebly創建拖動&拖放元素。 Weebly將每個元素包裝在Backbone JS視圖中,如explained here。 // My js file. PlatformElement is a Weebly-controlled object exposed to me.
PlatformElement.extend({
initialize: function() {
我想通過Ruby Watir在Weebly編輯器頁面中拖放元素。 drag_from is the element which is to be dragged in editor page
drag_to is the element which is dropped to the editor
drag_from.driver.action.move_to(drag_from.wd).p