Skip to content

sakp/redactor-twemoji-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Redactor feature image plugin

Redactor plugin for adding emoji from twitter Twemoji. see all emoji http://twitter.github.io/twemoji/1/test/preview.html

Usage

JavaScript

$('#redactor').redactor({
    plugins: ['twemoji'],
    emojiset: {
		'UserDefined 1': '[htmlenity code]', '[htmlenity code];', '[htmlenity code]',
		..
		..
		'UserDefined 2': '[htmlenity code]', '[htmlenity code];', '[htmlenity code]',
	},
	twemojiurl: "[twemoji library url]" /* use https://twemoji.maxcdn.com/twemoji.min.js by default */
	twemojiconfig: { /* all config https://github.com/twitter/twemoji#object-as-parameter */
		ext: '.png',
		size: 36
	}
});

About

Redactor plugin for adding emoji from twitter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published