Add CSS Shapes Editor extension to Brackets#7384
Conversation
There was a problem hiding this comment.
Shouldn't it be "set to true to avoid ..."?
|
@oslego could you use #00a2ff for the blue? I used the wrong blue in the PSD I gave you. Sorry about that! |
Conflicts: src/extensions/default/CSSShapesEditor/LiveEditorLocalDriver.js src/extensions/default/CSSShapesEditor/Model.js src/extensions/default/CSSShapesEditor/main.js src/extensions/default/CSSShapesEditor/thirdparty/CSSShapesEditor.js
|
@oslego Can you either remove or comment out all the console.log in your files? |
|
@RaymondLim will do. Had them in as a means to know that the injected editor was getting the right commands. |
There was a problem hiding this comment.
You mean Mitigates, right?
There was a problem hiding this comment.
If these are public methods, the functions shouldn't have a dangling underscore.
There was a problem hiding this comment.
This should be {$.Promise=}.
There was a problem hiding this comment.
Should we remove "clip-path" in this array to match the one used in main.js?
There was a problem hiding this comment.
The one in main.js acts like a guard. I think we should keep this intact here, so that when the time does come to support unprefixed clip-path, just the guard needs adjusting. I believe that will avoid confusion.
|
Done with final review. Just have some minor nits. I'll be merging soon even if you can't make these changes. |
… false negatives due to CM
These negative tests will pass because CodeMirror doesn't match properties with values. These tests used to pass because of other reasons (e.g.: prefixes) |
There was a problem hiding this comment.
This is a duplicate of the one above.
|
@larz0 Colors changed with RGBA correspondent. Hope you noticed. It's been a stream of changes. |
There was a problem hiding this comment.
same here, since you need to return the promise object
There was a problem hiding this comment.
Isn't deferred.reject() returning a failed promise already?
There was a problem hiding this comment.
Promise is the same as a Deferred object but without the methods that allow you to change the state. I am saying it because the API says that it returns a Promise and not a Deferred.
|
Merging now for others to do scenario testing. We'll fix some outstanding nits later. |
Add CSS Shapes Editor extension to Brackets
There was a problem hiding this comment.
Not public yet. The full source will surface soon.
|
Thanks @oslego! 👍 |
@RaymondLim, @redmunds, @njx please review / track.