Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Free and Open source Web Builder Framework. Next generation tool for building templates without coding

License

NotificationsYou must be signed in to change notification settings

GrapesJS/grapesjs

Repository files navigation

Build StatusChatCDNJSnpm

If you looking to embed theStudio editor in your application, we now offer theStudio SDK, a ready-to-use visual builder that's easy to embed in external applications, with GrapesJS team support included.

GrapesJS

GrapesJS is a free and open source Web Builder Framework which helps building HTML templates, faster and easily, to be delivered in sites, newsletters or mobile apps. Mainly, GrapesJS was designed to be used inside aCMS to speed up the creation of dynamic templates. To better understand this concept check the image below


GrapesJS - Style Manager


Generally any 'template system', that you'd find in various applications like CMS, is composed by thestructure (HTML),style (CSS) andvariables, which are then replaced with other templates and contents on server-side and rendered on client.

This demos show examples of what is possible to achieve:
Webpage Demo -http://grapesjs.com/demo.html
Newsletter Demo -http://grapesjs.com/demo-newsletter-editor.html

Table of contents

Features

BlocksStyle ManagerLayer Manager
GrapesJS - Block ManagerGrapesJS - Style ManagerGrapesJS - Layer Manager
Code ViewerAsset Manager
GrapesJS - Code ViewerGrapesJS - Asset Manager
  • Local and remote storage

  • Default built-in commands (basically for creating and managing different components)

Download

  • CDNs
    • UNPKG (resolves to the latest version)
      • https://unpkg.com/grapesjs
      • https://unpkg.com/grapesjs/dist/css/grapes.min.css
    • CDNJS (replaceX.X.X with the current version)
      • https://cdnjs.cloudflare.com/ajax/libs/grapesjs/X.X.X/grapes.min.js
      • https://cdnjs.cloudflare.com/ajax/libs/grapesjs/X.X.X/css/grapes.min.css
  • NPM
    • npm i grapesjs
  • GIT
    • git clone https://github.com/GrapesJS/grapesjs.git

For the development purpose you should follow instructions below.

Usage

<linkrel="stylesheet"href="path/to/grapes.min.css"/><scriptsrc="path/to/grapes.min.js"></script><divid="gjs"></div><scripttype="text/javascript">vareditor=grapesjs.init({container:'#gjs',components:'<div>Hello world!</div>',style:'.txt-red{color: red}',});</script>

For a more practical example I'd suggest looking up the code inside this demo:http://grapesjs.com/demo.html

Development

Follow theContributing Guide.

Documentation

Check the getting started guide here:Documentation

API

API References could be found here:API-Reference

Testing

$ pnpmtest

Plugins

Official Plugins |Community Plugins

Wrappers

  • @grapesjs/react - GrapesJS wrapper for React that allows you to build custom and declarative UI for your editor.

Extensions

Presets

Find out more about plugins here:Creating plugins

Support

If you like the project and you wish to see it grow, please consider supporting us with a donation of your choice or become a backer/sponsor viaOpen Collective

PayPalMeBitcoin


BrowserStack
Thanks toBrowserStack for providing us browser testing services

License

BSD 3-clause

About

Free and Open source Web Builder Framework. Next generation tool for building templates without coding

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project


    [8]ページ先頭

    ©2009-2026 Movatter.jp