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
Using v0.3.2 bootstrap3-wysihtml5.all.js with a options object set as follows adding a image (via the img toolbar button) the set_class attribute will not be added to the img tag (in text mode) until switching to html view (and back).
Has anyone else seen this?
Any fix or workaround available ?
$('#mytxtinput').wysihtml5({
toolbar: {
'html': true,
fa: true
},
parserRules: {
classes: {
'mytxtimg': 1
},
tags: {
'img': {
'set_class': 'mytxtimg'
}
}
}
});
best regards Peter
The text was updated successfully, but these errors were encountered:
Comment by Waxolunist Tuesday Sep 09, 2014 at 16:40 GMT
I am sorry but the issue still exists. I have written some tests and made a pull requests, so the topic will get some attention (see Voog/wysihtml#81). I will keep you updated, but for the moment I have to put the issue back to the backlog.
Issue by karma4u101
Monday Aug 25, 2014 at 13:54 GMT
Originally opened as Waxolunist/bootstrap3-wysihtml5-bower#82
Using v0.3.2 bootstrap3-wysihtml5.all.js with a options object set as follows adding a image (via the img toolbar button) the set_class attribute will not be added to the img tag (in text mode) until switching to html view (and back).
Has anyone else seen this?
Any fix or workaround available ?
$('#mytxtinput').wysihtml5({
toolbar: {
'html': true,
fa: true
},
parserRules: {
classes: {
'mytxtimg': 1
},
tags: {
'img': {
'set_class': 'mytxtimg'
}
}
}
});
best regards Peter
The text was updated successfully, but these errors were encountered: