Skip to content

Andrey1024/svg-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVG Text Editor

A JavaScript library for creating and editing multiline text inside SVG images.

Installation

    //todo

Using

Quick example:

import Editor from 'SvgText';

let editor = new Editor(element, 'Edit me!', {
    x: 15,
    y: 15,
    width: 100,
    height: 100,
    isCenterAligned: true,
    isVerticalCenterAligned: false
});

$(element).click(() => editor.startEdit().then(res => console.log(res));

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published