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
When I validate the chosen color, the browser sends a GET request with for example: /?color=%23df3030
My temporary solution:
on the trumbowyg.js file on lines 1600 and 1608 I added this:
.on('submit', function (event) {
event.preventDefault();
$modal.trigger(CONFIRM_EVENT);
return false;
})
And
.on('submit reset', function (event) {
event.preventDefault();
if (t.o.autogrowOnEnter) {
t.autogrowOnEnterDontClose = false;
}
});
to block form submission by default.
This corrects the sending of the form by default but the color choice modal window no longer closes automatically.
Thank you for your suggestions.
Note: I'm a big fan of trumbowyg.js! Thank you for this great tool!
Sincerely,
Raf
The text was updated successfully, but these errors were encountered:
Hi, I tried the Colors plugin and I encountered a problem when validating the color choice with the color picker.
What I did:
<script src="../trumbowyg/dist/plugins/colors/trumbowyg.colors.min.js"></script>
I click on text color or background nailer.
I choose a color with the color-picker.
When I validate the chosen color, the browser sends a GET request with for example: /?color=%23df3030
My temporary solution:
on the trumbowyg.js file on lines 1600 and 1608 I added this:
And
to block form submission by default.
Thank you for your suggestions.
Note: I'm a big fan of trumbowyg.js! Thank you for this great tool!
Sincerely,
Raf
The text was updated successfully, but these errors were encountered: