[FIX] web_editor: rte_inline tour succeed on chrome
The rte_inline tour was failing on chrome because jquery selector in chrome does not like a space in the style selector. On the other hand, other browsers and phantomjs need the space. This commit change the selector to find the element on chrome and friends.
This commit is contained in:
@@ -323,6 +323,6 @@ tour.register('rte_inline', {
|
||||
trigger: '#wrapwrap img:eq(1)[height]:not([class*="fa"])',
|
||||
}, {
|
||||
content: "check the second font class to css",
|
||||
trigger: '#wrapwrap img:eq(2)[style*="float: right"]',
|
||||
trigger: '#wrapwrap img:eq(2)[style*="float: right"],#wrapwrap img:eq(2)[style*="float:right"]',
|
||||
}]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user