{"id":133,"date":"2009-11-15T18:11:29","date_gmt":"2009-11-15T18:11:29","guid":{"rendered":"http:\/\/www.adriangrigoras.com\/blog\/?p=133"},"modified":"2009-11-15T18:11:29","modified_gmt":"2009-11-15T18:11:29","slug":"using-fckeditor-in-perl","status":"publish","type":"post","link":"https:\/\/adriangrigoras.com\/blog\/using-fckeditor-in-perl\/","title":{"rendered":"Using FCKEditor in Perl"},"content":{"rendered":"<p>If you want to use FCK Editor in Perl you must insert the following lines:<\/p>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">require &#8220;$serverfck\/fckeditor.pl&#8221;;<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"white-space: pre;\"> <\/span>&amp;FCKeditor(&#8216;xEditor&#8217;);<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"white-space: pre;\"> <\/span>$BasePath=$fck_s_path;<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"white-space: pre;\"> <\/span>$Value=&#8221;$line&#8221;;<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"white-space: pre;\"> <\/span>$Width = $FckWidth;<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"white-space: pre;\"> <\/span>$Height = $FckHeight;<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\"><span style=\"white-space: pre;\"> <\/span>&amp;Create();<\/div>\n<address>require &#8220;$serverfck\/fckeditor.pl&#8221;;<\/p>\n<p><span style=\"white-space: pre;\"> <\/span>&amp;FCKeditor(&#8216;xEditor&#8217;);<\/p>\n<p><span style=\"white-space: pre;\"> <\/span>$BasePath=$fck_s_path;<\/p>\n<p><span style=\"white-space: pre;\"> <\/span>$Value=&#8221;$line&#8221;;<\/p>\n<p><span style=\"white-space: pre;\"> <\/span>$Width = $FckWidth;<\/p>\n<p><span style=\"white-space: pre;\"> <\/span>$Height = $FckHeight;<\/p>\n<p><span style=\"white-space: pre;\"> <\/span>&amp;Create();<\/p>\n<address><\/address>\n<\/address>\n","protected":false},"excerpt":{"rendered":"<p>If you want to use FCK Editor in Perl you must insert the following lines: require &#8220;$serverfck\/fckeditor.pl&#8221;; &amp;FCKeditor(&#8216;xEditor&#8217;); $BasePath=$fck_s_path; $Value=&#8221;$line&#8221;; $Width = $FckWidth; $Height = $FckHeight; &amp;Create(); require &#8220;$serverfck\/fckeditor.pl&#8221;; &amp;FCKeditor(&#8216;xEditor&#8217;); $BasePath=$fck_s_path; $Value=&#8221;$line&#8221;; $Width = $FckWidth; $Height = $FckHeight; &amp;Create();<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-133","post","type-post","status-publish","format-standard","hentry","category-perl"],"_links":{"self":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/posts\/133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/comments?post=133"}],"version-history":[{"count":0,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/posts\/133\/revisions"}],"wp:attachment":[{"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/media?parent=133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/categories?post=133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adriangrigoras.com\/blog\/wp-json\/wp\/v2\/tags?post=133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}