I have implemented “Phpspellcheck” API to find auto suggestion for wrong spelled words.
<?php
#PHP Source Code
require "phpspellcheck/include.php"; //edit this path if necessary
$mySpell = new SpellAsYouType();
$mySpell->InstallationPath = "phpspellcheck/";
$mySpell->Fields = "ALL";
echo $mySpell->Activate();
?>
Everything is working fine but i got one serious issue.
My font-size inside textbox in 10. If i wrote incorrect word inside there, there appears red/green line under the words but with bigger font(i guess it is 13). I want the detected words to appear in size 10 too. I tried a lot but succeed. Anybody got an idea?
Thanks,
Biplab
Quick and dirty: edit the
context-menu.cssand addfont-size: 10px;to thelivespell_redwiggleandlivespell_greenwiggleclasses. The it should look like:Better is to create a custom theme with the changes above.