Skip to content

Commit

Permalink
started building WYSIWYG editor with the help of rangy.js
Browse files Browse the repository at this point in the history
  • Loading branch information
markentingh committed May 20, 2017
1 parent e217ac3 commit f9f3689
Show file tree
Hide file tree
Showing 6 changed files with 408 additions and 54 deletions.
2 changes: 1 addition & 1 deletion App/CSS/editor.less
Expand Up @@ -29,7 +29,7 @@
}

.keyframes(save-svg;{
0% { top:-4px; left: -4px; width:33px; height:33px; }
0% { top:-8px; left: -14px; width:33px; height:33px; }
33% { top:0; left: 0; width:25px; height:25px; }
34% { top:-4px; left: -4px; width:33px; height:33px; }
66% { top:0; left: 0; width:25px; height:25px; }
Expand Down
14 changes: 13 additions & 1 deletion App/CSS/platform.less
Expand Up @@ -19,4 +19,16 @@ body > .bg{background-color:rgba(0,0,0,0.5); position:absolute; top:0; right:0;
}
}
.svgicons{display:none;}
.hide-submit{position:absolute; left:-10000px;}
.hide-submit{position:absolute; left:-10000px;}

/* text styling */
.linethru{text-decoration:line-through;}
.number-list{list-style-type:decimal;}
.c-textbox pre{display:inline; font-family: inherit;}
.outdent{text-indent:-10px;}
.indent > div{text-indent:0}
.indent > div:nth-child(1){text-indent:15px}
.indent{text-indent:15px}
.align-left{text-align:left; display:inline-block;}
.align-center{text-align:center; display:inline-block;}
.align-right{text-align:right; display:inline-block;}

0 comments on commit f9f3689

Please sign in to comment.