Jump to content

Search the Community

Showing results for tags 'tinymce'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Calendars

  • Community Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. SERVERMODULE CustomFiles.Add('tiny_mce\tiny_mce.js'); CustomFiles.Add('tiny_mce\tiny_mce_popup.js'); MAINFORM s:= ' <textarea id="ed1" style="width: 100%; height: 400px;"></textarea> '+ ' <script> '+ ' tinyMCE.init( '+ ' { '+ ' theme : "advanced", '+ ' plugins : "autolink, lists, spellchecker, pagebreak, style, layer, '+ ' table, advhr, advimage, advlink, emotions, iespell, inlinepopups, '+ ' insertdatetime, preview, media, searchreplace, print, contextmenu, '+ ' paste, directionality, fullscreen, noneditable, visualchars, nonbreaking, '+ ' xhtmlxtras,template", '+ ' theme_advanced_buttons1 : "newdocument, |, bold, italic, underline, strikethrough, |, '+ ' justifyleft, justifycenter, justifyright, justifyfull, |, '+ ' styleselect, formatselect, fontselect, fontsizeselect", '+ ' theme_advanced_buttons2 : "cut, copy, paste, pastetext, pasteword, |, search, replace, |, '+ ' bullist, numlist, |, outdent, indent, blockquote, |, undo, redo, |, '+ ' link, unlink, anchor, image, cleanup, help, code, |, insertdate, '+ ' inserttime, preview, |, forecolor, backcolor", '+ ' theme_advanced_buttons3 : "tablecontrols, |, hr, removeformat, visualaid, |, sub, sup, |, '+ ' charmap, emotions, iespell, media, advhr, |, print, |, ltr, rtl, |, '+ ' fullscreen", '+ ' theme_advanced_buttons4 : "insertlayer, moveforward, movebackward, absolute, |, styleprops, '+ ' spellchecker, |, cite, abbr, acronym, del, ins, attribs, |, visualchars, '+ ' nonbreaking, template, blockquote, pagebreak, |, insertfile, insertimage", '+ ' theme_advanced_toolbar_location : "top", '+ ' theme_advanced_toolbar_align : "left", '+ ' theme_advanced_statusbar_location : "bottom", '+ ' theme_advanced_resizing : true, '+ ' extended_valid_elements : "img[class=myclass | !src | border:0 | alt | title | width | height]", '+ ' mode: "exact", '+ ' elements : "ed1" '+ ' } '+ ' ); '+ ' </script> '; InfoHTMLFrame.HTML.Add(s); In browser debug mode I get "Cannot read property 'EditorManager' of null" Any suggestions ?
  2. Hi. I need help with tinyMCE. Below html code works. I try to embeed the code into a unihtmlframe. The editor is shown correct inside unigui. UniHTMLFrame1.HTML property: <script src="http://cdn.tinymce.com/4/tinymce.min.js"></script> <script> tinyMCE.init({ /*selector: '#edt1', */ plugins: [ 'advlist autolink lists link image charmap print preview anchor', 'searchreplace visualblocks code fullscreen', 'insertdatetime media table contextmenu paste code' ], toolbar: 'insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image', content_css: [ '//fast.fonts.net/cssapi/e6dc9b99-64fe-4292-ad98-6974f93cd2a2.css', '//www.tinymce.com/css/codepen.min.css' ], mode: "exact", elements : "edt1" }); </script> <textarea style="width: 100%; height: 100%;" id="edt1"></textarea> I cannot get the editor content. With UniSession.AddJS('MainForm.UniMemo1.setValue(tinyMCE.get("edt1").getContent());'); I get ERROR: tinyMCE is not defined MainForm.UniMemo1.setValue(tinyMCE.get("edt1").getContent()); thanks Html file sample with js that get content: <!DOCTYPE html> <html> <head> <script src="http://cdn.tinymce.com/4/tinymce.min.js"></script> <script> tinyMCE.init({ /*selector: '#edt1', */ plugins: [ 'advlist autolink lists link image charmap print preview anchor', 'searchreplace visualblocks code fullscreen', 'insertdatetime media table contextmenu paste code' ], toolbar: 'insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image', content_css: [ '//fast.fonts.net/cssapi/e6dc9b99-64fe-4292-ad98-6974f93cd2a2.css', '//www.tinymce.com/css/codepen.min.css' ], mode: "exact", elements : "edt1" }); </script> </head> <body> <button onclick="alert(tinyMCE.get('edt1').getContent());">Get</button><br> <textarea id="edt1"></textarea> </body>
×
×
  • Create New...