-
Notifications
You must be signed in to change notification settings - Fork 594
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
I found a bug: Tpography/text-decoration:none #1543
Comments
this is also true for many the css properties sometimes the default values are selected in a drop down but it should be a blank value by default instead. for example in the image: display, visibility, font family, white space, ... And another similar problem for the "buttons" like properties float, position, text align, word wrap... |
I don't think these behaviors are linked or similar ? Perhaps should we pass values in separated format, but I don't know how to do that up to now. |
Oh ok |
Following #1497 I obtain |
|
What about using I hope i understand what you are saying |
Sorry, of course I would mean #1497 ! |
Setting defaults color to "currentcolor" in src/ts/client/grapesjs/css-props.ts line 433 makes possible setting the other text-decoration properties. Tested with Firefox 123.0, Chrome 122.0.6261.128 and Opera 108.0.5067.29 |
There are more than this problem with the bug detected by Jonas : |
By these facts, I am really sure that the bug detected by Jonas is not linked to the #1497 issue |
What about setting it to empty string too? |
I believe so because that is the true reflection of the css rule generated (no prop, no value) For float and position I don't know what it will look like? Will there be no selection at all? (That would be perfect) |
For information, the demo page of grapesjs has the same default values https://grapesjs.com/demo.html |
UI with empty initial properties. Fix:#1543 (partially)
Thanks @oliviermgx for the fix When it will be in production we can ask @MoreauJonas for feedback |
Empty initial properties. Fix:#1543 (continued)
Describe the bug
Quand nous utilisons un nous ne pouvons enlever la text-decoration:underline
En effet, le text-décoration dans "typographie" est déja sur "none" et nous ne pouvons pas le sélectionner
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Pouvoir enlever le "underline" des balises
par défaut, le text-decoration est sur none, cependant, le none se s'applique pas
If you use Silex desktop app, please complete the following information
If you use Silex online, please complete the following information
URL: [e.g. editor.silex.me]
Browser [e.g. chrome]
Silex desktop version: 3.0.0-alpha.117
OS: [e.g. Windows 11]
Browser Chrome
The text was updated successfully, but these errors were encountered: