{"id":14990410,"url":"https://github.com/node-projects/web-component-designer","last_synced_at":"2025-05-16T02:07:23.331Z","repository":{"id":38486293,"uuid":"216838080","full_name":"node-projects/web-component-designer","owner":"node-projects","description":"A Designer for HTML Components or Pages in a WebComponent","archived":false,"fork":false,"pushed_at":"2025-05-08T20:24:27.000Z","size":18489,"stargazers_count":161,"open_issues_count":86,"forks_count":18,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-08T21:27:15.314Z","etag":null,"topics":["designer","typescript","web-components","wysiwyg","wysiwyg-editor","wysiwyg-html-editor"],"latest_commit_sha":null,"homepage":"https://node-projects.github.io/web-component-designer-demo/index.html","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/node-projects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"jogibear9988","patreon":"jogibear9988"}},"created_at":"2019-10-22T14:45:24.000Z","updated_at":"2025-05-08T20:24:30.000Z","dependencies_parsed_at":"2022-07-11T19:53:15.922Z","dependency_job_id":"99cf01b1-1393-4350-ae1f-f8d28579ed14","html_url":"https://github.com/node-projects/web-component-designer","commit_stats":{"total_commits":2329,"total_committers":22,"mean_commits":"105.86363636363636","dds":0.6427651352511807,"last_synced_commit":"d5254e3a1e677654eb2fe4e87ebf73a3f66e3d59"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-projects%2Fweb-component-designer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-projects%2Fweb-component-designer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-projects%2Fweb-component-designer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-projects%2Fweb-component-designer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-projects","download_url":"https://codeload.github.com/node-projects/web-component-designer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254453652,"owners_count":22073617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["designer","typescript","web-components","wysiwyg","wysiwyg-editor","wysiwyg-html-editor"],"created_at":"2024-09-24T14:20:05.769Z","updated_at":"2025-05-16T02:07:23.303Z","avatar_url":"https://github.com/node-projects.png","language":"TypeScript","funding_links":["https://github.com/sponsors/jogibear9988","https://patreon.com/jogibear9988"],"categories":["Designer"],"sub_categories":["JavaScript"],"readme":"# web-component-designer\r\n\r\nA HTML web component for designing web components and HTML pages based on PolymerLabs wizzywid which can easily be integrated in your own software.\r\nMeanwhile polymer is not used anymore.\r\n\r\n![image](https://user-images.githubusercontent.com/364896/117482820-358e2d80-af65-11eb-97fd-9d15ebf1966f.png)\r\n\r\nThere is also a preview VSCode addon using the designer: https://github.com/node-projects/vs-code-designer-addon\r\n\r\n## NPM Package\r\n\r\n[Comparison of Designer Frameworks](COMPARISON.md)\r\n\r\n## Comparison\r\n\r\nhttps://www.npmjs.com/package/@node-projects/web-component-designer\r\n\r\n## Additional NPM Packages\r\n\r\nAll Modules which need an external dependency are now extracted to extra NPM packges.\r\nSo the designer now should work with bundlers.\r\n\r\n| Name                                                                   | Description                                  |\r\n| ---------------------------------------------------------------------- | -------------------------------------------- |\r\n| web-component-designer-codeview-ace                                    |                                              |\r\n| web-component-designer-codeview-codemirror                             |                                              |\r\n| web-component-designer-codeview-codemirror5                            |                                              |\r\n| web-component-designer-codeview-monaco                                 |                                              |\r\n| web-component-designer-htmlparserservice-base-custom-webcomponent      |                                              |\r\n| web-component-designer-htmlparserservice-lit-element                   |                                              |\r\n| web-component-designer-htmlparserservice-nodehtmlparser                |                                              |\r\n| web-component-designer-miniatureview-html2canvas                       |                                              |\r\n| web-component-designer-stylesheetservice-css-tools                     |                                              |\r\n| web-component-designer-stylesheetservice-css-tree                      |                                              |\r\n| web-component-designer-visualization-addons                            |                                              |\r\n| web-component-designer-texteditextension-stylo                         | deprecated - stylo is deprecated             |\r\n| web-component-designer-widgets-fancytree                               | deprecated - replaced by widgets-wunderbaum  |\r\n| web-component-designer-widgets-wunderbaum                              |                                              |\r\n\r\n## Browser support\r\n\r\n  - Chrome, Firefox and Safari\r\n  \r\n## Projects using it\r\n\r\nA ZPL-Label Designer:\r\n(https://github.com/node-projects/web-component-designer-zpl-demo)\r\n\r\n![image](https://github.com/node-projects/web-component-designer/assets/364896/e1f1e3cc-29a3-4749-a676-389577fab69a)\r\n\r\nA material flow layout editor in a comercial application:\r\n![image](https://github.com/node-projects/web-component-designer/assets/364896/0062562a-4224-4b11-aaa4-03e31494fcfa)\r\n\r\n## Demo\r\n\r\nlook at: https://node-projects.github.io/web-component-designer-demo/index.html\r\nrepository: https://github.com/node-projects/web-component-designer-demo\r\n\r\nor a simple one: https://node-projects.github.io/web-component-designer-simple-demo/index.html\r\nrepository: https://github.com/node-projects/web-component-designer-simple-demo\r\n\r\n## What is needed\r\n\r\n- @node-projects/base-custom-webcomponent a very small basic webcomponent library (maybe this will be included directly later, to be dependecy free)\r\n- optional - ace code editor\r\n- optional - monaco code editor (if you use code-view-monaco)\r\n- optional - code mirror code editor (if you use code-view-codemirror) (workin but buggy)\r\n- optional - fancytree (if you use tree-view-extended, palette-tree-view or bindable-objects-browser)\r\n\r\n## Features we are working on\r\n\r\nhttps://github.com/node-projects/web-component-designer/issues\r\n\r\n## Developing\r\n\r\n  * This will install all required packages, link all the npm packages and build everyone once. (in mac or linux you need to run the script with sudo, or the \"npm link\" will not work)\r\n\r\n```\r\n  $ npm run develop\r\n```\r\n\r\n## Using\r\n\r\nAt first you have to setup a service container providing services for history, properties, elements, ...\r\n\r\n## Code Editor\r\n\r\nYou can select to use one of 3 code editors available (ACE, CodeMirrow, Monaco).\r\nIf you use one of the widgets, you need to include the JS lib in your index.html and then use the specific widget.\r\n\r\n## TreeView\r\n\r\nWe have 2 tree components. One independent and one feature rich which uses FancyTree (and cause of this it needs JQuery and JqueryUI).\r\n\r\n## DragDrop\r\n\r\nIf you'd like to use the designer on mobile, you need the mobile-drag-drop npm library.\r\nYour index.html should be extended as follows:\r\n\r\n    \u003clink rel=\"stylesheet\" href=\"/node_modules/mobile-drag-drop/default.css\"\u003e\r\n    \u003cscript src=\"/node_modules/mobile-drag-drop/index.js\"\u003e\u003c/script\u003e\r\n\r\n## Copyright notice\r\n\r\nThe Library uses Images from the Chrome Dev Tools, see\r\nhttps://github.com/ChromeDevTools/devtools-frontend/tree/main/front_end/Images/src\r\nand\r\nhttps://github.com/ChromeDevTools/devtools-frontend/blob/main/LICENSE\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-projects%2Fweb-component-designer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-projects%2Fweb-component-designer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-projects%2Fweb-component-designer/lists"}