Giter Site home page Giter Site logo

aghontpi / dnde Goto Github PK

View Code? Open in Web Editor NEW
54.0 54.0 19.0 35.57 MB

Drag and drop react email editor

Home Page: https://dnde.bluepie.in

License: GNU General Public License v3.0

HTML 8.77% Python 0.43% CSS 2.89% TypeScript 84.32% SCSS 0.92% JavaScript 2.67%
drag-and-drop drag-n-drop editor email-editor email-template mjml-api react react-email react-email-component react-email-editor

dnde's People

Contributors

aghontpi avatar eswaramoorthykarthikeyan avatar fr0st1n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dnde's Issues

fix all key realted errors

// todo: fix all key realted errors
if (element.classList.contains('mjml-tag')) {
// const ReactNode = React.createElement(nodeName, { key: ++counter, ...attributes }, children);
// return React.createElement(
// 'div',


This issue was generated by todo based on a todo comment in df285b9. It's been assigned to @aghontpi because they committed the code.

Invalid HTML causes crash

Problem

Editing inside the html content without the table element causes crash.

Video

2021-10-25.11-38-20.mp4

unable to set background image to the entire body

handling emails that has background image to the entire body - unable to handle mihoyo promotional email

Able to create the exact design but unable to

  • add background image to entire body of the email

ex: the following image is used as background image to the entire content. (open the image in new tab and check the height)

the image of the original promotional mail

promotional email image

the original mails source code in zip

mihoyo-promotional-mail.html.zip

check if changing directly to mjmlJson causes perfomance impact

//todo: check if changing directly to mjmlJson causes perfomance impact
// if so, then maintain a local state, then on change change the value first,
// then by using useeffect listen for the in localvalue, then update the mjmlJson.
const handleChange = useMemo(
() => (e: ChangeEvent<HTMLInputElement>) => {
let value = e.currentTarget.value;


This issue was generated by todo based on a todo comment in 59380b0. It's been assigned to @aghontpi because they committed the code.

add operation got complex, refactor by seperating append, insert, copy operation...

// todo: add operation got complex, refactor by seperating append, insert, copy operations
if (!insert) {
// if tag name is mj-section, generate uniqueId for all mj-column tags
if (droppedConfig.tagName === 'mj-section') {
droppedConfig = generateUiqueIdForColumns(droppedConfig, uid);
}


This issue was generated by todo based on a todo comment in 8865202. It's been assigned to @aghontpi because they committed the code.

URL without protocol points to same domain

Linking a url using the popover dialog or using the sidebar to link href is not working as intended.

Possible sus line below

'<a href="' + link + '" target="_blank">' + document.getSelection() + '</a>'

optimize this

// todo: optimize this
const getValue = () => {
let value = '';
if (path && visible) {
let element = _.get(mjmlJson, path);
if (element && element.attributes) {


This issue was generated by todo based on a todo comment in 3db1701. It's been assigned to @aghontpi because they committed the code.

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.