Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
8bff341
Add TinyMCE 4 compatible plugin
StevenDevooght Aug 7, 2013
179877a
Remove TinyMCE 3 plugin from master branch
StevenDevooght Aug 7, 2013
7b54190
Add supporting tinyMCE versions to readme
StevenDevooght Aug 7, 2013
28c0c6c
Fix readme typo
StevenDevooght Aug 7, 2013
8d5b3c9
Fix readme markdown
StevenDevooght Aug 7, 2013
f861754
Remove unused commented code
StevenDevooght Aug 19, 2013
009df10
Add dummy class to hidden span (bypass tinymce autocleanup)
StevenDevooght Aug 19, 2013
13bf1cf
Update minified plugin
StevenDevooght Aug 19, 2013
843655b
Cleanup code
StevenDevooght Feb 8, 2014
cc5e5b9
Add support for multiple delimiters.
StevenDevooght Feb 8, 2014
9d00cd6
Update minified plugin to the latest version.
StevenDevooght Feb 8, 2014
877d2a5
Add documentation for multiple delimiters.
StevenDevooght Feb 8, 2014
87d3e87
Show loading indicator on initial data load.
StevenDevooght Feb 21, 2014
c5c9d19
added focus in select function for IE
jurgenkalverboer Mar 18, 2014
e596a97
Merge pull request #6 from jurgenkalverboer/patch-1
StevenDevooght Mar 18, 2014
d242f3b
#8: Fix previous char is space check.
StevenDevooght Apr 8, 2014
70136aa
#8: Fix previous char is space check for empty content.
StevenDevooght Apr 9, 2014
db40c41
Properly prepend keydown event to the editor's eventqueue.
StevenDevooght May 6, 2014
1e82448
#10: Fix usage of queryBy option.
StevenDevooght May 21, 2014
1d1bef9
Fix unbinding of editor 'click' event.
StevenDevooght Oct 23, 2014
543e5fa
Switch to editor 'blur' event instead of body 'click' event.
StevenDevooght Oct 23, 2014
9d8594a
#12: Add support for tinyMCE inline mode.
StevenDevooght Oct 23, 2014
1a969af
#13: Escape regex special characters when highlighting query.
StevenDevooght Nov 6, 2014
bb50570
#14: Fix selection when clicking a dropdown entry.
StevenDevooght Nov 17, 2014
91fff75
Add Qunit test skeleton.
StevenDevooght Dec 24, 2014
a984ccd
Fix .travis.yml file.
StevenDevooght Dec 24, 2014
ceafbfd
Simplify .travis.yml
StevenDevooght Dec 24, 2014
3ed3ad1
Add bower.json file.
StevenDevooght Dec 27, 2014
cf95622
Move all dependencies to bower.
StevenDevooght Dec 28, 2014
e6de51d
Add bower as devdependency.
StevenDevooght Dec 28, 2014
79559ec
Add unit test for keyboard navigation.
StevenDevooght Dec 28, 2014
fdff534
#15: Publish package to bower.
StevenDevooght Dec 30, 2014
0436de1
jshint pass
StevenDevooght Dec 31, 2014
08bea3f
Add jshint to build script.
StevenDevooght Dec 31, 2014
b1f9bea
Fix syntax error in documentation.
May 8, 2015
87b36e1
#20: Move adding of space to the insert function.
Jun 8, 2015
5c6cb4a
Update readme.
Jun 13, 2015
48050e7
Only build the master branch.
Jun 13, 2015
0276a95
Make sure bower always pulls in the latest patch version of tinymce.
Jun 13, 2015
bf65fd7
Update autocomplete.css to fix 'Microsof' typo.
unixmonkey Feb 10, 2016
6d341d8
Merge pull request #30 from unixmonkey/fix-microsof-typo
StevenDevooght Feb 11, 2016
f5d733c
Update npm dependencies.
Feb 21, 2016
83db259
Add default jshint reporter.
Feb 21, 2016
baff475
Conform test_mention.js to jshint.
Feb 21, 2016
772ab32
Re-enable disabled assertion.
Feb 21, 2016
695debe
Update tinymce & qunit dependency.
Feb 23, 2016
4743db0
Use latest nodejs version during build.
Feb 23, 2016
54db24a
Update gulp build.
Feb 23, 2016
ce3dc04
Start work on webpack example.
StevenDevooght Jun 27, 2016
4ab49ff
Include mention plugin in commonjs example.
StevenDevooght Jul 12, 2016
199bd13
Exclude commonjs example build output from repository.
StevenDevooght Jul 12, 2016
49b2f18
Reformat webpack.config.js
StevenDevooght Jul 12, 2016
c7564f4
Update package.json
StevenDevooght Jul 12, 2016
7e5e65f
Renamce tinyMCE-mention to tinymce-mention.
StevenDevooght Jul 12, 2016
4833bb8
Add package.json main entry file.
StevenDevooght Jul 12, 2016
e47472a
Update minified plugin.
StevenDevooght Jul 12, 2016
b49d2cd
Bump version
StevenDevooght Jul 12, 2016
27aeeb6
Add jquery as dependency.
StevenDevooght Jul 12, 2016
05e4dba
Use npm installed plugin in commonjs example.
StevenDevooght Jul 12, 2016
231f90e
Add build status badge.
StevenDevooght Jul 12, 2016
02aaa8d
Add the ability for the insert function to take data from a different…
johnnaegle Oct 26, 2016
3975ae6
Merge pull request #47 from johnnaegle/add-insertFrom
StevenDevooght Oct 27, 2016
7d54224
Add insertFrom option to the readme.
StevenDevooght Oct 27, 2016
091d028
Define sorter as option to override the default behavior of the 'sort…
May 23, 2017
b3d0b3c
Merge pull request #57 from jalios/custom-sorter
StevenDevooght May 24, 2017
696c9a4
Fix readme headings.
StevenDevooght May 24, 2017
e9ebf8c
Fixed another readme heading.
StevenDevooght May 24, 2017
6f32747
Loosen constraint to allow all 4.x versions of TinyMCE to be installed.
StevenDevooght May 24, 2017
d5f6046
Update autocomplete.css
mbardelmeijer Jun 18, 2017
018fb43
Merge pull request #58 from mbardelmeijer/patch-1
StevenDevooght Jun 20, 2017
0e44f0b
Fix top of undefined error.
StevenDevooght Jul 25, 2017
e17a2ab
update the render function to add the item index in argument.
Aug 24, 2017
32cb344
put the index argument as second argument to not have a breaking change
Aug 24, 2017
12ca8bd
Fix the following issue: adding a new mention at the beginning of a l…
Aug 24, 2017
eb62a6f
Merge pull request #62 from jalios/render_function_with_item_index
StevenDevooght Aug 25, 2017
4af82d0
Merge branch 'master' into fix_prevCharIsSpace_function
StevenDevooght Sep 8, 2017
7c0a113
Merge pull request #63 from jalios/fix_prevCharIsSpace_function
StevenDevooght Sep 8, 2017
64e8d4d
Update minified plugin.
StevenDevooght Sep 8, 2017
5a671ae
Upgrade test runner to latests jquery version.
StevenDevooght Oct 19, 2017
f0b5347
Fixed bug where last highlighted item was being added
Apr 9, 2018
8653f49
Merge pull request #70 from PaulRyan17/master
StevenDevooght Apr 9, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
190 changes: 2 additions & 188 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,188 +1,2 @@
advhr/css/advhr.css
advhr/editor_plugin.js
advhr/editor_plugin_src.js
advhr/js/rule.js
advhr/langs/en_dlg.js
advhr/rule.htm
advimage/css/advimage.css
advimage/editor_plugin.js
advimage/editor_plugin_src.js
advimage/image.htm
advimage/img/sample.gif
advimage/js/image.js
advimage/langs/en_dlg.js
advlink/css/advlink.css
advlink/editor_plugin.js
advlink/editor_plugin_src.js
advlink/js/advlink.js
advlink/langs/en_dlg.js
advlink/link.htm
advlist/editor_plugin.js
advlist/editor_plugin_src.js
autolink/editor_plugin.js
autolink/editor_plugin_src.js
autoresize/editor_plugin.js
autoresize/editor_plugin_src.js
autosave/editor_plugin.js
autosave/editor_plugin_src.js
bbcode/editor_plugin.js
bbcode/editor_plugin_src.js
contextmenu/editor_plugin.js
contextmenu/editor_plugin_src.js
directionality/editor_plugin.js
directionality/editor_plugin_src.js
emotions/editor_plugin.js
emotions/editor_plugin_src.js
emotions/emotions.htm
emotions/img/smiley-cool.gif
emotions/img/smiley-cry.gif
emotions/img/smiley-embarassed.gif
emotions/img/smiley-foot-in-mouth.gif
emotions/img/smiley-frown.gif
emotions/img/smiley-innocent.gif
emotions/img/smiley-kiss.gif
emotions/img/smiley-laughing.gif
emotions/img/smiley-money-mouth.gif
emotions/img/smiley-sealed.gif
emotions/img/smiley-smile.gif
emotions/img/smiley-surprised.gif
emotions/img/smiley-tongue-out.gif
emotions/img/smiley-undecided.gif
emotions/img/smiley-wink.gif
emotions/img/smiley-yell.gif
emotions/js/emotions.js
emotions/langs/en_dlg.js
example/dialog.htm
example/editor_plugin.js
example/editor_plugin_src.js
example/img/example.gif
example/js/dialog.js
example/langs/en.js
example/langs/en_dlg.js
example_dependency/editor_plugin.js
example_dependency/editor_plugin_src.js
fullpage/css/fullpage.css
fullpage/editor_plugin.js
fullpage/editor_plugin_src.js
fullpage/fullpage.htm
fullpage/js/fullpage.js
fullpage/langs/en_dlg.js
fullscreen/editor_plugin.js
fullscreen/editor_plugin_src.js
fullscreen/fullscreen.htm
iespell/editor_plugin.js
iespell/editor_plugin_src.js
inlinepopups/editor_plugin.js
inlinepopups/editor_plugin_src.js
inlinepopups/skins/clearlooks2/img/alert.gif
inlinepopups/skins/clearlooks2/img/button.gif
inlinepopups/skins/clearlooks2/img/buttons.gif
inlinepopups/skins/clearlooks2/img/confirm.gif
inlinepopups/skins/clearlooks2/img/corners.gif
inlinepopups/skins/clearlooks2/img/horizontal.gif
inlinepopups/skins/clearlooks2/img/vertical.gif
inlinepopups/skins/clearlooks2/window.css
inlinepopups/template.htm
insertdatetime/editor_plugin.js
insertdatetime/editor_plugin_src.js
layer/editor_plugin.js
layer/editor_plugin_src.js
legacyoutput/editor_plugin.js
legacyoutput/editor_plugin_src.js
lists/editor_plugin.js
lists/editor_plugin_src.js
media/css/media.css
media/editor_plugin.js
media/editor_plugin_src.js
media/js/embed.js
media/js/media.js
media/langs/en_dlg.js
media/media.htm
media/moxieplayer.swf
nonbreaking/editor_plugin.js
nonbreaking/editor_plugin_src.js
noneditable/editor_plugin.js
noneditable/editor_plugin_src.js
pagebreak/editor_plugin.js
pagebreak/editor_plugin_src.js
paste/editor_plugin.js
paste/editor_plugin_src.js
paste/js/pastetext.js
paste/js/pasteword.js
paste/langs/en_dlg.js
paste/pastetext.htm
paste/pasteword.htm
preview/editor_plugin.js
preview/editor_plugin_src.js
preview/example.html
preview/jscripts/embed.js
preview/preview.html
print/editor_plugin.js
print/editor_plugin_src.js
save/editor_plugin.js
save/editor_plugin_src.js
searchreplace/css/searchreplace.css
searchreplace/editor_plugin.js
searchreplace/editor_plugin_src.js
searchreplace/js/searchreplace.js
searchreplace/langs/en_dlg.js
searchreplace/searchreplace.htm
spellchecker/css/content.css
spellchecker/editor_plugin.js
spellchecker/editor_plugin_src.js
spellchecker/img/wline.gif
style/css/props.css
style/editor_plugin.js
style/editor_plugin_src.js
style/js/props.js
style/langs/en_dlg.js
style/props.htm
style/readme.txt
tabfocus/editor_plugin.js
tabfocus/editor_plugin_src.js
table/cell.htm
table/css/cell.css
table/css/row.css
table/css/table.css
table/editor_plugin.js
table/editor_plugin_src.js
table/js/cell.js
table/js/merge_cells.js
table/js/row.js
table/js/table.js
table/langs/en_dlg.js
table/merge_cells.htm
table/row.htm
table/table.htm
template/blank.htm
template/css/template.css
template/editor_plugin.js
template/editor_plugin_src.js
template/js/template.js
template/langs/en_dlg.js
template/template.htm
visualblocks/css/visualblocks.css
visualblocks/editor_plugin.js
visualblocks/editor_plugin_src.js
visualchars/editor_plugin.js
visualchars/editor_plugin_src.js
wordcount/editor_plugin.js
wordcount/editor_plugin_src.js
xhtmlxtras/abbr.htm
xhtmlxtras/acronym.htm
xhtmlxtras/attributes.htm
xhtmlxtras/cite.htm
xhtmlxtras/css/attributes.css
xhtmlxtras/css/popup.css
xhtmlxtras/del.htm
xhtmlxtras/editor_plugin.js
xhtmlxtras/editor_plugin_src.js
xhtmlxtras/ins.htm
xhtmlxtras/js/abbr.js
xhtmlxtras/js/acronym.js
xhtmlxtras/js/attributes.js
xhtmlxtras/js/cite.js
xhtmlxtras/js/del.js
xhtmlxtras/js/element_common.js
xhtmlxtras/js/ins.js
xhtmlxtras/langs/en_dlg.js
node_modules/
bower_components/
120 changes: 120 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
{
// --------------------------------------------------------------------
// JSHint Configuration, Strict Edition
// --------------------------------------------------------------------
//
// This is a options template for [JSHint][1], using [JSHint example][2]
// and [Ory Band's example][3] as basis and setting config values to
// be most strict:
//
// * set all enforcing options to true
// * set all relaxing options to false
// * set all environment options to false, except the browser value
// * set all JSLint legacy options to false
//
// [1]: http://www.jshint.com/
// [2]: https://github.com/jshint/node-jshint/blob/master/example/config.json
// [3]: https://github.com/oryband/dotfiles/blob/master/jshintrc
//
// @author http://michael.haschke.biz/
// @license http://unlicense.org/

// == Enforcing Options ===============================================
//
// These options tell JSHint to be more strict towards your code. Use
// them if you want to allow only a safe subset of JavaScript, very
// useful when your codebase is shared with a big number of developers
// with different skill levels.

"bitwise" : false, // Prohibit bitwise operators (&, |, ^, etc.).
"curly" : true, // Require {} for every new block or scope.
"eqeqeq" : true, // Require triple equals i.e. `===`.
"forin" : true, // Tolerate `for in` loops without `hasOwnPrototype`.
"immed" : true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );`
"latedef" : true, // Prohibit variable use before definition.
"newcap" : true, // Require capitalization of all constructor functions e.g. `new F()`.
"noarg" : true, // Prohibit use of `arguments.caller` and `arguments.callee`.
"noempty" : true, // Prohibit use of empty blocks.
"nonew" : true, // Prohibit use of constructors for side-effects.
"plusplus" : false, // Prohibit use of `++` & `--`.
"regexp" : true, // Prohibit `.` and `[^...]` in regular expressions.
"undef" : true, // Require all non-global variables be declared before they are used.
"strict" : true, // Require `use strict` pragma in every file.
"trailing" : true, // Prohibit trailing whitespaces.
"quotmark" : true,

// == Relaxing Options ================================================
//
// These options allow you to suppress certain types of warnings. Use
// them only if you are absolutely positive that you know what you are
// doing.

"asi" : false, // Tolerate Automatic Semicolon Insertion (no semicolons).
"boss" : false, // Tolerate assignments inside if, for & while. Usually conditions & loops are for comparison, not assignments.
"debug" : false, // Allow debugger statements e.g. browser breakpoints.
"eqnull" : false, // Tolerate use of `== null`.
"es5" : false, // Allow EcmaScript 5 syntax.
"esnext" : false, // Allow ES.next specific features such as `const` and `let`.
"evil" : false, // Tolerate use of `eval`.
"expr" : false, // Tolerate `ExpressionStatement` as Programs.
"funcscope" : false, // Tolerate declarations of variables inside of control structures while accessing them later from the outside.
"globalstrict" : false, // Allow global "use strict" (also enables 'strict').
"iterator" : false, // Allow usage of __iterator__ property.
"lastsemic" : false, // Tolerat missing semicolons when the it is omitted for the last statement in a one-line block.
"laxbreak" : false, // Tolerate unsafe line breaks e.g. `return [\n] x` without semicolons.
"laxcomma" : false, // Suppress warnings about comma-first coding style.
"loopfunc" : false, // Allow functions to be defined within loops.
"multistr" : false, // Tolerate multi-line strings.
"onecase" : false, // Tolerate switches with just one case.
"proto" : false, // Tolerate __proto__ property. This property is deprecated.
"regexdash" : false, // Tolerate unescaped last dash i.e. `[-...]`.
"scripturl" : false, // Tolerate script-targeted URLs.
"smarttabs" : false, // Tolerate mixed tabs and spaces when the latter are used for alignmnent only.
"shadow" : false, // Allows re-define variables later in code e.g. `var x=1; x=2;`.
"sub" : false, // Tolerate all forms of subscript notation besides dot notation e.g. `dict['key']` instead of `dict.key`.
"supernew" : false, // Tolerate `new function () { ... };` and `new Object;`.
"validthis" : false, // Tolerate strict violations when the code is running in strict mode and you use this in a non-constructor function.

// == Environments ====================================================
//
// These options pre-define global variables that are exposed by
// popular JavaScript libraries and runtime environments—such as
// browser or node.js.

"browser" : true, // Standard browser globals e.g. `window`, `document`.
"couch" : false, // Enable globals exposed by CouchDB.
"devel" : false, // Allow development statements e.g. `console.log();`.
"dojo" : false, // Enable globals exposed by Dojo Toolkit.
"jquery" : false, // Enable globals exposed by jQuery JavaScript library.
"mootools" : false, // Enable globals exposed by MooTools JavaScript framework.
"node" : false, // Enable globals available when code is running inside of the NodeJS runtime environment.
"nonstandard" : false, // Define non-standard but widely adopted globals such as escape and unescape.
"prototypejs" : false, // Enable globals exposed by Prototype JavaScript framework.
"rhino" : false, // Enable globals available when your code is running inside of the Rhino runtime environment.
"wsh" : false, // Enable globals available when your code is running as a script for the Windows Script Host.

// == JSLint Legacy ===================================================
//
// These options are legacy from JSLint. Aside from bug fixes they will
// not be improved in any way and might be removed at any point.

"nomen" : false, // Prohibit use of initial or trailing underbars in names.
"onevar" : false, // Allow only one `var` statement per function.
"passfail" : false, // Stop on first error.
"white" : false, // Check against strict whitespace and indentation rules.

// == Undocumented Options ============================================
//
// While I've found these options in [example1][2] and [example2][3]
// they are not described in the [JSHint Options documentation][4].
//
// [4]: http://www.jshint.com/options/

"maxerr" : 100, // Maximum errors before stopping.
"predef" : [ // Extra globals.
//"exampleVar",
//"anotherCoolGlobal",
//"iLoveDouglas"
],
"indent" : 4 // Specify indentation spacing
}
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: node_js
node_js:
- "5.7"
branches:
only:
- master
Loading
Loading