पुराना सवाल है। हालांकि, यह किसी के लिए सहायक होगा।
http://www.andyarndt.net/TinyFileManager.aspx एक .net वेब एप्लिकेशन है। वेबफॉर्म के साथ भी ठीक काम करता है। एमवीसी के साथ काम करने के लिए आप थोड़ा अनुकूलन भी कर सकते हैं।
संपादित करें:
आप कॉन्फ़िगर और प्रलेखन ऊपर उल्लेख पेज में उल्लेख किया है उल्लेख करने के लिए कैसे करने के लिए Github TinyFileManager.NET में प्रदान की नमूना आवेदन देख सकते हैं।
कस्टम सीएसएस बूटस्ट्रैप वर्क के साथ कुछ संघर्षों से बचने के लिए। 3.xx:
div.mce-fullscreen
{
z-index: 1030;
}
div.mce-edit-area
{
border-width: 1px !important;
border-left-width: 0 !important;
border-bottom-width: 0 !important;
}
.mce-combobox .mce-btn
{
width: 44px !important;
height: auto !important;
}
.mce-combobox .mce-btn button
{
padding-right: 0;
padding-left: 0;
}
ASP.net नियंत्रण:
<asp:TextBox ID="txtAnnouncements" runat="server" TextMode="MultiLine" AutoComplete="off"
CssClass="form-control elm1"></asp:TextBox>
TinyMCE जावास्क्रिप्ट:
tfm_path = '/fileman';
tinymce.init({
// document_base_url: "http://localhost:58841/",
// relative_urls: true,
selector: "textarea.elm1",
mode: "specific_textareas",
editor_selector: "tinymce",
theme: "modern",
// width: 300,
height: 300,
plugins: [
"advlist autolink lists link image charmap print preview hr anchor pagebreak",
"searchreplace wordcount visualblocks visualchars code fullscreen",
"insertdatetime media nonbreaking save table contextmenu directionality",
"emoticons template paste textcolor "
],
// content_css: "css/content.css",
toolbar1: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | forecolor backcolor emoticons | bullist numlist outdent indent | link image | print preview media fullscreen ",
image_advtab: true,
encoding: "xml",
setup: function (editor) {
editor.on("SaveContent", function (i) {
i.content = i.content.replace(/'/g, "&apos");
});
}
});
जब डेटाबेस बचत, सीधे बचाने के लिए, और जब फिर से बाध्यकारी, पाठ बॉक्स के लिए , HttpUtility.HtmlDecode()
का उपयोग करें।
मुझे के जीवन के लिए, मैं अभी तक नहीं मिली है। क्या किसी को सफलता मिली है? – midas06
लेकिन मुझे साइट से प्लगइन नहीं मिला, जो प्लगइन आप का उपयोग किया जाता है? – Shrikant1712