Created
May 3, 2021 05:25
-
-
Save keerthanaRajendran/2051fc04b0fbc69d88b8d6f8c2628b33 to your computer and use it in GitHub Desktop.
RTE-Default
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<textarea id="rteSample" rows="10" cols="30" style="width: 740px; height: 440px" ej-rte="e-list.bind:list;e-tools.bind:tools"> | |
<p><b>Description:</b></p> | |
<p>The Rich Text Editor (RTE) control is an easy to render in | |
client side. Customer easy to edit the contents and get the HTML content for | |
the displayed content. A rich text editor control provides users with a toolbar | |
that helps them to apply rich text formats to the text entered in the text | |
area. </p> | |
<p><b>Functional | |
Specifications/Requirements:</b></p> | |
<ol><li><p>Provide | |
the tool bar support, it’s also customizable.</p></li><li><p>Options | |
to get the HTML elements with styles.</p></li><li><p>Support | |
to insert image from a defined path.</p></li><li><p>Footer | |
elements and styles(tag / Element information , Action button (Upload, Cancel))</p></li><li><p>Re-size | |
the editor support. </p></li><li><p>Provide | |
efficient public methods and client side events.</p></li><li><p>Keyboard | |
navigation support.</p></li></ol> | |
</textarea> | |
</div> | |
</template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class EventsDropDownList { | |
tool= {style: ["bold", "italic"], lists: ["unorderedList", "orderedList"],doAction: ["undo", "redo"],links: ["createLink"],images: ["image"] }; | |
list = ["style", "lists", "doAction", "links", "images"]; | |
constructor() { | |
this.list = this.list; | |
this.tools = this.tool; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content="Essential Studio for JavaScript"> | |
<meta name="author" content="Syncfusion"> | |
<title>Untitled</title> | |
<!-- Essential Studio for JavaScript theme reference --> | |
<link rel="stylesheet" href="https://cdn.syncfusion.com/19.1.0.54/js/web/flat-azure/ej.web.all.min.css" /> | |
<script src="https://cdn.syncfusion.com/js/assets/external/jquery-1.11.3.min.js" type="text/javascript"> </script> | |
</head> | |
<body aurelia-app="main"> | |
<h1>Loading...</h1> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.6/system.js"></script> | |
<script src="https://rawgit.com/aurelia-ui-toolkits/aurelia-syncfusion-bundles/0.0.1/config2.js"></script> | |
<script> | |
System.import('aurelia-bootstrapper'); | |
</script> | |
<style type="text/css" class="cssStyles"> | |
</style> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function configure(aurelia) { | |
aurelia.use | |
.standardConfiguration() | |
.developmentLogging() | |
.plugin('aurelia-syncfusion-bridge', syncfusion => syncfusion.useAll()); | |
aurelia.start().then(a => a.setRoot()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment