Giter VIP home page Giter VIP logo

angularx-sketch-and-text-editor's Introduction

angularx-sketch-and-text-editor's People

Contributors

pankajmsharma avatar

Stargazers

 avatar

Watchers

 avatar

angularx-sketch-and-text-editor's Issues

Functionality To Drag Elements

  • Make SVG Elements draggable after selection.
  • If user selects multiple SVG Elements he should be able to drag all of them together.

Add Selector Box

  1. Add dotted selector box.
  2. Selector box will be visible when user selects any SVG element in selection mode.
  3. Selector box should have 8 resizing handlers to resize selected element.
  4. Currently resizing handler will not be functioning.

Make SVG scrollable

Description:

Make the SVG part scrollable. Header and Footer shall be fixed on top and bottom of the page respectively.

Acceptance Criteria:

  1. SVG part of the page shall be horizontally and vertically scrollable on overflow.
  2. Header should be fixed on top of screen.
  3. Footer should be fixed at bottom of screen.

Functionality to draw using Pencil Tool

  1. Add pencil tool in toolbox.
  2. User should be able to draw randomly using pencil tool in following sequence of events:-
    a. Mouse down: Start drawing.
    b. Mouse Move: Draw by following mouse position.
    c. Mouse Up: Stop drawing.
  3. User should be allowed to draw multiple times until he switches tool.
  4. Use default drawing settings initially.

Functionality to create Ellipse

  1. After Selecting Ellipse Tool user should be able to create ellipse by following sequence of mouse events:
    a. Mouse down -> Mouse Move -> Mouse Up
  2. It should contain default drawing settings such as 'fill', 'stroke', etc.
  3. User should be able to create multiple ellipses until he switches tool.

Update title in header

Description:

Update title in header from AngularX Editor to Angular Sketch.
Update title shown in browser tab from AngularRichTextEditor to Angular Sketch

Acceptance Criteria:

Title in header and browser tab shall be Angular Sketch.

Multiple selection of Elements

  • User should be able to select multiple svg elements by using pressing mouse with 'Ctrl' key.

  • On multiple selection there should be no resize handler in selector box

Multi-line Textbox

Description

  1. User shall be able to create multi-line textbox.
  2. On creation, textbox shall be displayed as single line textbox but multiple lines would be shown when user presses Enter key in textbox.
  3. Resize handelers shall be shall be present on textbox. On dragging using these handlers, font-size shall increase.
  4. Default css properties of text: font-size: 1em, color: #000000, background-color: none; font-family: var(--global-font), font-weight: 400, word-wrap: normal;.
  5. Later we would allow user to update text css properties. Currently this is out of scope of this functionality but write the code in a way that this future functionality can be incorporated easily.
  6. User shall be able to select the text he has already written on canvas. This would work just like how we select other elements on canvas.

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.