Coder Social home page Coder Social logo

app-generator / opensource-dnd-tools Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 6.37 MB

DnD Playground - Drag & Drop / Edit Components | AppSeed

Home Page: https://dnd-playground.onrender.com/

HTML 4.87% TypeScript 0.57% CSS 45.96% JavaScript 2.24% SCSS 46.27% Python 0.09%
dnd dnd-tools drag-and-drop page-builder free-dnd free-page-builder buildinpublic

opensource-dnd-tools's Introduction

Free DnD Tools

Open-Source Playground for Drag & Drop tools and visual components editing - provided by AppSeed.


Quick Start

Tested with Node 16.x, 18.x.

$ git clone https://github.com/app-generator/opensource-dnd-tools.git
$ cd builder
$ yarn
$ yarn dev    # development (LIVE Reload)
$ yarn build  # production  (dist FOLDER)

Open-source DnD Tools and Visual Builders provided by AppSeed.

Roadmap & Features

Status Item info
โœ… Minimal Core using vanilla JS
โœ… UI Framework Bootstrap 5
โœ… One-Page Layout Single Component Drag & Drop
โœ… Persistence (local storage) Save, Restore, Clear
โœ… Component Customization Text-Only
โœ… Added Grid Component This allows to inject predefined rows (2,3,4 columns)
โŒ Component Customization Images, Links
โŒ Component Customization CSS
โŒ PAGE Customization CSS
โŒ PAGE Customization JS
โŒ Manage SEO Title, Description, Keywords
โŒ Handle Multiple Pages -
โŒ Dashboard Layout Single Component Drag & Drop
โŒ Remote Component Server Load Components from distant Server

Components Server

Managed by Flask

$ cd backend
$ virtualenv env
$ source env/bin/activate
$ pip install -r requirements.txt
$ flask run --debug

Here is the output:

  • http://localhost:5000/
  • http://localhost:5000/kits/, return available KITS
    • 'material-kit'
    • 'kit2'
  • http://localhost:5000/kits/material-kit/, return Material Kit assets
{
    "name": "Material Kit BS5 ",
    "version": "0.0.0",
    "type": "kit",
    "material-kit": {
        "layouts": "base.html",
        "components": {
            "footers": {
                "footer.html": "NA"
            },
            "headers": {
                "header.html": "NA"
            },
            "navigation": {
                "navigation.html": "NA"
            },
            "general": {
                "section1.html": "NA"
            }
        }
    }
}

Contributors

Anyone can contribute to this free tool. For more input, please use:



Free DnD Tools - Open-Source Project actively supported by AppSeed

opensource-dnd-tools's People

Contributors

app-generator avatar mominur-helios avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

opensource-dnd-tools's Issues

[ENH] Added Grid Component (2-COL)

The components list needs to be enhanced with a grid component where all cells are drop-able

  • BS5 Grid Components:
    • 2 columns (equal size)

There are no props associated with grid components but the user can drag & drop ordinary components inside the grid.

When the normal component is positioned on top of the grid, the active grid cell needs to be highlighted.

Grid components can be also deleted (with all inner elements) and change the order.

image

Yarn Build Fails

After Quill integration, the yarn build target bump errors.
As a general rule, for each commit, the target build needs to be checked.

@mominur-helios please take a look.

TY!

yarn build
yarn run v1.22.18
$ tsc && vite build
src/main.ts:41:5 - error TS2304: Cannot find name 'Quill'.

41 new Quill('#editor', options);
       ~~~~~


Found 1 error in src/main.ts:41

error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

DIV Element - When selected, Attach Quill Editor

When a DIV component is selected for edit, a Quill editor needs to be active.

DEV Branch: wysiwyg-quill

With the Quill Editor active, the user can:

  • edit the DIV HTML
  • Edit the RAW HTML (if Quill allows)
    • some WYSIWYG editors permit the switch from visual to Raw HTML editing and vice-versa.

Once the user clicks on another DIV, the previous Quill instance is destroyed and a new one is created for the current element.

@mominur-helios please take a look.
TY!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.