New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buttons locks its attribute on click or after use one time #691
Comments
Did you make a selection before click/re-click on bold? Trumbowyg does not support simple clic to enable/disable bold. So, you always should write the text, then select the part you want format, then click on buttons you want. |
I too have this problem.. once you click the bold button its "locked" in its active state. Clicking "remove format" clears it. Using v2.9.4. Made a quick video to demonstrate the problem here: http://youtu.be/MnV9fRFNLMI?hd=1 Probably a conflict with some other script. My page has the following loaded:
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/Trumbowyg/2.9.4/trumbowyg.min.js"></script>
<!-- ... -->
<script src="Trumbowyg/dist/trumbowyg.min.js"></script> Why??? Same for the CSS oO Are you sure dist files are in 2.9.4? |
Sorry forgot to remove them when I switched to local files. Yeah 100% sure they are 2.9.4... |
Does it works on the Trumbowyg landing: https://alex-d.github.io/Trumbowyg/ ? |
Yes
Den 31 jan. 2018 20:36 skrev "Alexandre Demode" <notifications@github.com>:
Does it works on the Trumbowyg landing: https://alex-d.github.io/Trumbowyg/
?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#691 (comment)>,
or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ACtl-w7_LF006hh0HIWNNbtecWYpV0v_ks5tQMDAgaJpZM4RdobC>
.
|
I can't really help you if you can't make a buggy sample code with minimum amount of code :/ |
Your CSS is conflicting with something in this one (works if I comment it out): The strikethrough is present even on your demo page however: This is on Chrome 64bit Version 64.0.3282.140 |
That's the only one button which is like that, no? |
On the demo page, yes. But same behavior on the bold button if I include
the materialize css on the same page.
Den 3 feb. 2018 01:02 skrev "Alexandre Demode" <notifications@github.com>:
… That's the only one button which is like that, no?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#691 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACtl-xX9z4-BtWn9c8m0rJLBP5WEKNisks5tQ6IFgaJpZM4RdobC>
.
|
I am facing the same issue in React js. |
The bugs still here... |
Nope. Too hard to fix that. But I keep that in mind for v3 #875 :) |
// Text Styles in _typography.scss of MaterializeCSS those lines are the issue on Editor with Bold / Italic. |
I'm new to Trumbowyg editor, I'm Trumbowyg with ASP.NET Core everything's working fine but once I click the "Bold" button then the "Bold" button locked it's state and don't go away even I double click, also some other buttons like backgroundColor, Italic button sometimes don't work..
Browser: Firefox 57.0.4 (64-bit), Chrome, IE.
Windows 10
The text was updated successfully, but these errors were encountered: