Notepad++ regex to remove HTML tags
Posted on 15 November 2011.
Sublime Text is a sophisticated text editor for code, html and prose. You’ll love the slick user interface and extraordinary features.
Posted in ProgrammingComments (0)
Posted on 15 September 2011.
Boks is an AIR application (so it works on Windows, Mac and Linux) that provides aUser Interface for Blueprint CSS’s framework. It’s been designed for those who think the Grid System is good but never really took the time to give it love.
Posted in ProgrammingComments (0)
Posted on 30 March 2011.
This example shows how to include and exclude specific textareas from being converted by adding classes to them and using the editor_selector and editor_deselector config options.
Posted in JavaScript - AjaxComments (0)
Posted on 19 May 2009.
The valid_elements option defines which elements will remain in the edited text when the editor saves. You can use this to limit the returned HTML to a subset.
This option contains a comma separated list of element conversion chunks. Each chunk contains information about how one element and its attributes should be treated. The default rule set for this option is specified below. Read the full story
Posted in HTML - XHTML, JavaScript - AjaxComments (0)
Posted on 05 November 2008.
<script language=”javascript” type=”text/javascript”>
// Notice: The simple theme does not use all options some of them are limited to the advanced theme
tinyMCE.init({
mode : “textareas”,height : “380″,
width : “380″,theme : “advanced”,
valid_elements : “a[href|target=_blank],b/strong,div[align],br,ol,li,ul,p,blockquote”,
entity_encoding : “utf-8″});
</script>
Posted in HTML - XHTML, JavaScript - AjaxComments (0)
Posted on 05 November 2008.
<script language="javascript" type="text/javascript" src="Scripts/editors/tiny_mce/tiny_mce.js"></script> <script language="javascript" type="text/javascript"> // Notice: The simple theme does not use all options some of them are limited to the advanced theme //tinyMCE.init({ // mode : "textareas", //theme : "advanced", //valid_elements : "a[href|target=_blank],b/strong,div[align],br,ol,li,ul,p,blockquote", //entity_encoding : "utf-8" //}); tinyMCE.init({ mode : "textareas", theme : "advanced", entity_encoding : "utf-8", content_css : "http://www.domain.gr/css/style.css", entities : "160,nbsp,38,amp,34,quot,162,cent,8364,euro,163,pound,165,yen,169,copy,174,reg,8482,trade,8240,permil,60,lt,62,gt,8804,le,8805,ge,176,deg,8722,minus", plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,paste,directionality,fullscreen,noneditable,contextmenu", theme_advanced_buttons1_add_before : "save,newdocument,separator", theme_advanced_buttons1_add : "fontselect,fontsizeselect", theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor,liststyle", theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator", theme_advanced_buttons3_add_before : "tablecontrols,separator", theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print,separator,ltr,rtl,separator,fullscreen", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "bottom", plugin_insertdate_dateFormat : "%Y-%m-%d", plugin_insertdate_timeFormat : "%H:%M:%S", extended_valid_elements : "hr[class|width|size|noshade]", file_browser_callback : "fileBrowserCallBack", paste_use_dialog : false, theme_advanced_resizing : true, theme_advanced_resize_horizontal : false, theme_advanced_link_targets : "_something=My somthing;_something2=My somthing2;_something3=My somthing3;", apply_source_formatting : true }); function fileBrowserCallBack(field_name, url, type, win) { var connector = "../../filemanager/browser.html?Connector=connectors/php/connector.php"; var enableAutoTypeSelection = true; var cType; tinymcpuk_field = field_name; tinymcpuk = win; switch (type) { case "image": cType = "Image"; break; case "flash": cType = "Flash"; break; case "file": cType = "File"; break; } if (enableAutoTypeSelection && cType) { connector += "&Type=" + cType; } window.open(connector, "tinymcpuk", "modal,width=600,height=400"); }</script>
Posted in HTML - XHTML, JavaScript - AjaxComments (0)
