The Emojipicker is added to Frio for new posts
This commit is contained in:
parent
44bdff664a
commit
45c1d74750
15 changed files with 8475 additions and 117 deletions
59
view/js/vanillaEmojiPicker/index.html
Normal file
59
view/js/vanillaEmojiPicker/index.html
Normal file
|
@ -0,0 +1,59 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- UIkit CSS -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/uikit@3.9.4/dist/css/uikit.min.css" />
|
||||
<!-- UIkit JS -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/uikit@3.9.4/dist/js/uikit.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/uikit@3.9.4/dist/js/uikit-icons.min.js"></script>
|
||||
<style>
|
||||
html, body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<div class="uk-container uk-container-small uk-section">
|
||||
<div class="uk-margin-large">
|
||||
<textarea name="" class="one uk-textarea uk-margin uk-height-medium">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</textarea>
|
||||
<button class="first-btn uk-button uk-button-primary">Start picker</button>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<textarea name="" class="two uk-textarea uk-margin"></textarea>
|
||||
<button class="second-btn uk-button uk-button-primary">Start picker</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script src="vanillaEmojiPicker.js"></script>
|
||||
<script>
|
||||
|
||||
new EmojiPicker({
|
||||
trigger: [
|
||||
{
|
||||
selector: '.first-btn',
|
||||
insertInto: ['.one', '.two'] // '.selector' can be used without array
|
||||
},
|
||||
{
|
||||
selector: '.second-btn',
|
||||
insertInto: '.two'
|
||||
}
|
||||
],
|
||||
closeButton: true,
|
||||
//specialButtons: green
|
||||
});
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue