The Heart breaking moment when
you see your ex with another girl
CKEDITOR.replace( 'new_quote',
{
scayt_autoStartup : false,
width : '620',
resize_maxWidth : '620',
resize_minWidth : '620',
toolbar : 'Basic',
pasteFromWordRemoveFontStyles : false,
font_names : 'Arial;Bookman Old Style;Bradley Hand ITC;Century Gothic;Comic Sans MS;Courier New;Impact;Georgia;Papyrus;Script;Tahoma;Terminal;Times New Roman;Trebuchet MS;Verdana;Webdings;Wingdings',
enterMode : CKEDITOR.ENTER_BR,
colorButton_colors :
'000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,' +
'B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,' +
'F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,A9A9A9,' +
'FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,' +
'FFF0F5,FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF',
toolbar : [
['Source'],
['Bold','Italic','Underline','Strike','Subscript','Superscript','SpecialChar','-','TextColor','BGColor','-','Undo','Redo','SelectAll','RemoveFormat'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Font','FontSize','-','Preview','SpellChecker','Maximize','PasteFromWord']
],
on :
{
instanceReady : function( ev )
{
// Output paragraphs as Text.
this.dataProcessor.writer.setRules( 'p',
{
indent : false,
breakBeforeOpen : true,
breakAfterOpen : false,
breakBeforeClose : false,
breakAfterClose : true
});
}
}
}
);
$(document).ready(function(){
$(".preview_button").click(function() {
$("#preview").slideUp("fast", function() {
var txt=document.getElementsByName("new_quote");
$("#preview_quote").load("/api.php", {"a":"previewquote", "quote":CKEDITOR.instances.new_quote.getData()}, function() {
$("#preview").slideDown("slow");
});
});
// $("#matches").load("/api.php", {"a":"detectdupes", "quote":CKeditor.instances.new_quote.getData()});
});
});