No commit activity in last 3 years
No release in over 3 years
Interface between raspell and TinyMCE
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0.0
~> 1.8.3
>= 0
~> 3.12

Runtime

~> 1.3
 Project Readme

TinymceSpellcheck

Acts as an interface to the TinyMCE spell checker plugin. At the moment, it only supports ASpell (via the raspell gem) but it has the ability to abstract engines away, so it can be extended in the future.

Install

% gem install tinymce_spellcheck

.h3 Via Bundler

gem ‘tinymce_spellcheck’

Example

def spellcheck
  data = ActiveSupport::JSON.decode(request.raw_post)
  args = data['params'].to_a.first
  spellcheck = TinymceSpellcheck::TinymceSpellcheck.new({}, :raspell)
  result = spellcheck.send(data['method'].underscore, *args)
  render :json => { :id => data['id'], :result => result, :error => nil }.to_json
end

Copyright © 2009-2012 MadPilot Productions, released under the MIT license