GithubHelp home page GithubHelp logo

alanliu-ai / linkotemplateeditor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liurunner/linkotemplateeditor

1.0 1.0 0.0 155 KB

A WYSIWYG Editor for Linko Online Email/Letter template

HTML 73.31% CSS 26.69%

linkotemplateeditor's Introduction

Spec list

General content composing:

  • Copy content from WORD or GOOGLE DOC directly into the editor

    • Choose Keep paste in HTML for composing a Letter Template
    • Choose Insert only Text for composing an Email Template
  • Able to style from the toolbar:

    • Text-style: bold, strike-though, underscore, italic

    • Subscript: upper, lower

    • Align: left, right, top, bottom

    • Insert bullet list, number list

    • Increase or decrease indent

    • Set font family, font color, fill font background color

    • Insert formatted block: normal, h1, h2, h3, h4, quoted

    • Insert image (embedded base64 images)

      • Images are resizable
    • Insert link

    • Insert table

      • Resizable
      • Can insert row above or bottom
      • Can insert column left or right
      • Can split a cell vertical or horizontal
      • Can align particular cell
      • Can set cell background color
    • Support drag-drop text and images

    • Advanced: can directly modify HTML/CSS/JS code

Linko Template Specific

  • Can insert MERGE FIELD which dynamic interpolate to a facility or inspection’s instance field value Insert Merged Field

Instruction of composing template

  • Try to make a template at WORD and paste into this editor as start
  • Play around with the toolbar function, make the template looked well
  • Replace actual data to MERGE FIELD by toolbar “Insert Merge Field”
  • Use “Print” to preview the result in a A4 letter
  • Once it down, click toolbar “Copy Content to Clipboard” to copy data and use it as the composed template

Cons should know about this editor

  • The WORD background image or color cannot COPY out and PASTE into this editor
  • The header and footer are not supported at the moment, you have to manual add each page’s header and footer and preview via “Print” feature

Others

This editor can be manipulated at CodeSandbox:https://codesandbox.io/s/linko-template-editor-k7ync

linkotemplateeditor's People

Contributors

alanliu-ai avatar

Stargazers

 avatar

Watchers

James Cloos avatar

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.