Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

TinyMCE example

vinyll edited this page · 1 revision
Clone this wiki locally

Template file :

<?php use_javascript('tiny_mce/tiny_mce.js') ?>
<?php use_javascript('/sfMediaBrowserPlugin/js/WindowManager.js') ?>

<form>
  <textarea></textarea>
</form>

<script type="text/javascript">
  sfMediaBrowserWindowManager.init('<?php echo url_for('sf_media_browser_select') ?>');
  tinyMCE.init({
    mode : "textareas",
    theme:  "advanced",
    file_browser_callback: "sfMediaBrowserWindowManager.tinymceCallback"
  });
</script>
Something went wrong with that request. Please try again.