Skip to content

Commit

Permalink
MAGETWO-58617: [GitHub] WYSIWYG editor loses data after show-hide edi…
Browse files Browse the repository at this point in the history
…tor #5811
  • Loading branch information
undefined-olha committed Nov 4, 2016
1 parent e4ffd59 commit 96d9ed6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web/mage/adminhtml/wysiwyg/tiny_mce/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ define([

encodeDirectives: function(content) {
// collect all HTML tags with attributes that contain directives
return content.gsub(/\<([a-z0-9\-\_]+.+?)([a-z0-9\-\_]+=".*?\{\{.+?\}\}.*?".*?)>/i, function(match) {
return content.gsub(/<([a-z0-9\-\_]+.+?)([a-z0-9\-\_]+=".*?\{\{.+?\}\}.*?".*?)>/i, function(match) {
var attributesString = match[2];

// process tag attributes string
Expand Down

0 comments on commit 96d9ed6

Please sign in to comment.