-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Clicking 2 buttons at time (e.g. making next characters bold and italics) #34
Comments
This does appear to be a bug - not sure why it's breaking but let us look into it. |
I have just tested both situations you mentioned. In each test I conducted the editor performed normally. During the first scenario, after I clicked the italics button the text contained both bold and italics formatting. When I tried the second scenario, the bold formatting was removed after pressing the bold button a second time. I am using the following browsers: Internet Explorer: 11.0.9600.17842 |
Hi Tyler, If you could give me any hints on how to avoid that if this is some kind of my mistake - I would be even more that grateful :) |
I just tested your page using the same three browser versions mentioned above and I encountered no issues. Everything worked just like it should. What browser are you using? What version of it do you have installed? |
Chrome 43.0.2357.124 m The clue is that you need to click add some text, then after being at the end of the text (nothing selected - just a cursor blinking) click "B" icon (--> it will turn to Bold and icon will get enabled) and then immediatelly click "B" icon again (--> it is not changing back to disabled)... EDIT: same thing on IE 11.0.9600.17842 OS: Windows 8.1, Polish version |
Ok let me just make sure I understand this. First I type something into the textbox (last textbox on the page). Then with my cursor at the end of the word I click the bold button? Is that right? Are you not highlighting the text before clicking the bold button? |
Exactly...Without highlighting anything you Bold and then without doing anything else - click Bold again... |
I believe the reason nothing is happening is because nothing is highlighted. The editor applies the formatting to what you have selected. If you highlight the text first then click the button it should work correctly. What we might need to do is verify that the user has actually selected some text before doing anything. That way the button doesn't act like something should have changed. |
@voyteck0 I have been working on fixing some of the reported issues over the past couple months. Could you try testing this again using the latest code found in the 2.0-dev branch? That code has not been released yet but it is the latest version and I believe will work for you. |
It works properly if you select text. If you do not select text, it still exhibits the behavior described in the initial bug report. Steps to reproduce:
Expected behavior: Actual behavior: |
I found a problem that it is impossible to click 2 buttons at time (without typing in any letters).
Way to reproduce:
BUG: After clicking Italics Bold is disabled, only Italics is applied
Different way to reproduce (looks like a different bug, but I believe it comes actually from the same problem):
BUG: It should disable, but it doesn't (stays bold)
In both situations once you type in something - the editor gets back to normal way of working. Tested on Chrome. Firefox and IE - works same everywhere...
The text was updated successfully, but these errors were encountered: