/// <summary> </summary> public static String make_editable(String txt, posting post, int areacount) { String draft = ""; post = post.get_working_copy(); if (post.has_draft()) { draft = "data-has_draft='true'"; } String status = "data-status='false'"; if (post.is_published()) { status = "data-status='true'"; } txt = "<bdo data-id='" + post.baseid + "' " + draft + " " + status + " data-type='" + post.post_type.alias + "' data-name='" + post.name + "' data-alias='" + post.alias + "' data-blockid='" + areacount + "' class='editor_block'>" + txt + "</bdo>"; return(txt); }