MCPcopy Index your code
hub / github.com/adobe-webplatform/brackets-css-shapes-editor

github.com/adobe-webplatform/brackets-css-shapes-editor @v1.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.0 ↗ · + Follow
36 symbols 62 edges 6 files 28 documented · 78%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CSS Shapes Editor for Brackets

Extension for Brackets and Adobe Edge Code.

Adds an on-screen interactive editor for CSS Shapes values when in Live Preview mode.

How to Install

Simple:

  • Open Brackets, and go to File > Extension Manager
  • Search for "CSS Shapes Editor for Brackets"
  • Click Install

From source

  1. Open Brackets, and go to File > Extension Manager
  2. Click Install from URL...
  3. Enter this URL:
https://github.com/adobe-webplatform/brackets-css-shapes-editor
  1. Click Install
  2. Reload Brackets.

How to enable CSS Shapes

UPDATE September 2014: CSS Shapes are enabled since Google Chrome 37. If you're using Chrome 37+, this section is no longer relevant.

If you're using an older version of Chrome, here's how to enable the feature manually:

Before you use the shapes editor, you need to enable support for CSS Shapes in the LivePreview browser window. You need to do this even if you have already enabled CSS Shapes in another Google Chrome browser on your system.

To enable CSS Shapes:

  1. Turn on LivePreview
  2. Navigate to chrome://flags
  3. Find the Enable experimental Web Platform features flag
  4. Click Enable
  5. Reload LivePreview.

Changelog

v1.1.0

  • sync with shapes editor library v0.8.0
  • fixes various bugs related to reference boxes and percentage-based coordinates;
  • adds on-screen controls for polygon edit / transform modes;
  • uses minified version of library;
  • removes keyboard shortcut (T key) to toggle polygon transform mode.
  • removes handling & feature detection of shape-inside (obsolete from CSS Shapes Level 1)

License

MIT-licensed -- see main.js for details.

Core symbols most depended-on inside this repo

constructModelAtPos
called by 25
unittests.js
_call
called by 6
LiveEditorLocalDriver.js
remove
called by 3
LiveEditorLocalDriver.js
setup
called by 3
LiveEditorLocalDriver.js
remove
called by 2
LiveEditorRemoteDriver.js
_reset
called by 2
LiveEditorLocalDriver.js
_hasPropertyValue
called by 1
LiveEditorRemoteDriver.js
_set
called by 1
Model.js

Shape

Function 36

Languages

TypeScript100%

Modules by API surface

LiveEditorLocalDriver.js13 symbols
main.js9 symbols
LiveEditorRemoteDriver.js7 symbols
unittests.js5 symbols
Model.js2 symbols

For agents

$ claude mcp add brackets-css-shapes-editor \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page