Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Ignacio Chiapella
arqWeb18
Commits
bf4c9e16
Commit
bf4c9e16
authored
6 years ago
by
Alvaro Machicado
Browse files
Options
Download
Email Patches
Plain Diff
demo + gitignore
parent
b526f135
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
0 deletions
+36
-0
.gitignore
.gitignore
+1
-0
tp1/demo/demo.html
tp1/demo/demo.html
+35
-0
No files found.
.gitignore
0 → 100644
View file @
bf4c9e16
alvaro-tmp
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tp1/demo/demo.html
0 → 100644
View file @
bf4c9e16
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Angular JS Demo
</title>
<meta
name=
"robots"
content=
"noindex"
>
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"
>
<link
rel=
'stylesheet'
href=
'https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'
>
<script
src=
'https://ajax.googleapis.com/ajax/libs/angularjs/1.3.11/angular.min.js'
></script>
</head>
<body>
<div
ng-app=
"angularTest"
ng-controller=
"wysiwygeditor"
class=
"container app"
>
<h1>
Editor
<small>
{{versionNumber}}
</small></h1>
<h1>
Raw HTML in a text area
</h1>
<textarea
ng-model=
"htmlcontent"
style=
"width: 100%"
></textarea>
<!-- <h1>Bound with ng-bind-html</h1>
<div ng-bind-html="htmlcontent"></div> -->
</div>
<script
type=
"text/javascript"
>
angular
.
module
(
"
angularTest
"
,
[])
.
controller
(
'
wysiwygeditor
'
,
[
'
$scope
'
,
function
wysiwygeditor
(
$scope
)
{
$scope
.
versionNumber
=
'
1.3.11
'
;
$scope
.
orightml
=
'
<h2>Try me!</h2><p>textAngular is a super cool WYSIWYG Text Editor directive for AngularJS</p><p><img class="ta-insert-video" ta-insert-video="http://www.youtube.com/embed/2maA1-mvicY" src="" allowfullscreen="true" width="300" frameborder="0" height="250"/></p><p><b>Features:</b></p><ol><li>Automatic Seamless Two-Way-Binding</li><li>Super Easy <b>Theming</b> Options</li><li style="color: green;">Simple Editor Instance Creation</li><li>Safely Parses Html for Custom Toolbar Icons</li><li class="text-danger">Doesn't Use an iFrame</li><li>Works with Firefox, Chrome, and IE9+</li></ol><p><b>Code at GitHub:</b> <a href="https://github.com/fraywing/textAngular">Here</a> </p><h4>Supports non-latin Characters</h4><p>昮朐 魡 燚璒瘭 譾躒鑅, 皾籈譧 紵脭脧 逯郹酟 煃 瑐瑍, 踆跾踄 趡趛踠 顣飁 廞 熥獘 豥 蔰蝯蝺 廦廥彋 蕍蕧螛 溹溦 幨懅憴 妎岓岕 緁, 滍 蘹蠮 蟷蠉蟼 鱐鱍鱕, 阰刲 鞮鞢騉 烳牼翐 魡 骱 銇韎餀 媓幁惁 嵉愊惵 蛶觢, 犝獫 嶵嶯幯 縓罃蔾 魵 踄 罃蔾 獿譿躐 峷敊浭, 媓幁 黐曮禷 椵楘溍 輗 漀 摲摓 墐墆墏 捃挸栚 蛣袹跜, 岓岕 溿 斶檎檦 匢奾灱 逜郰傃</p>
'
;
$scope
.
htmlcontent
=
$scope
.
orightml
;
$scope
.
disabled
=
false
;
}]);
</script>
</body>
</html>
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment