YUILibrary - Open source JavaScript and CSS for building richly interactive software.
Fork YUI on GitHub
  • Home
  • Gallery
  • Forums
  • YUI 2
  • YUI 3
  • YUICompressor
  • YUIDoc
  • More
  • Gallery Forums
  • Gallery Stats
  • Gallery Calendar
  • Register
  • Login

Modules

  • Home
  • Featured
  • Popular
  • New
  • All

Documentation

  • FAQ
  • Developer FAQ
  • Developer Guide
  • Module Setup

Context Navigation

    YUI Library is not responsible for bugs or support with this module. It is available as a free service. For support please contact the module owner with the provided links.

    Simple Editor Port (gallery-simple-editor)

    Last Updated: 11/2/09
    + 0 -

    Dav Glass

    YUI Developer

    See 8 more by this user.

    Featured Item

    Created: 11/2/09
    Last CDN Push: 11/2/09
    Build Tag: gallery-2009.11.02-20
    Project: YUI 3
    License: YUI BSD
    YUI Version: 3.0.0
    Free for use.
    Module Image

    This is a non-supported port of SimpleEditor from YUI2.x. This port uses the same CSS file as the YUI 2.x version. Just add yui-skin-sam to the body and link in the CSS with this url:

    http://yui.yahooapis.com/2.8.0r4/build/assets/skins/sam/skin.css

    This is an example port using the Port Base Gallery Module. It's meant as an example & not designed to be used on a daily basis. So use at your own risk ;)

    • Tags:
    • yui2
    • rte
    • port
    • davglass
    • editor
    • wysiwyg
    • Download
    • Docs
    • Homepage
    • Bugs
    • Source
    • Example
    • Forum
    • History

    Code Sample

    YUI({
        modules: {
            'gallery-port': {
                fullpath: 'http://yui.yahooapis.com/gallery-2009.11.02-20/build/gallery-port/gallery-port-min.js',
                requires: ['base','node'],
                optional: [],
                supersedes: []
            },
            'gallery-simple-editor': {
                fullpath: 'http://yui.yahooapis.com/gallery-2009.11.02-20/build/gallery-simple-editor/gallery-simple-editor-min.js',
                requires: ['node','gallery-port','substitute'],
                optional: [],
                supersedes: []
          }
     
        }
    }).use('gallery-simple-editor', function(Y) {
     
        var editor = new Y.Editor.Simple({
            node: '#editor',
            dompath: true,
            height: '300px',
            width: '530px',
            handleSubmit: true,
            extracss: 'body { font-size: 11px; }'
        });
        editor.render();
     
     
    });

    Forum Posts

    No forum posts for this module.

    YUI Projects
    • All YUI Downloads
    • YUI 2
    • YUI 3
    • YUIDoc
    • YUICompressor
    • YUILibrary.com
    • YUI Build Tool
    • YUI PHP Loader
    Pages & Links
    • All YUI Downloads
    • Git FAQ
    • Graded Browser Support
    • Contribute to YUI
    • Forum Stats
    • Gallery Stats
    • YUI Calendar
    Contribute
    • Submit a Bug
    • Request a Feature
    • Write Code
    • Meet the Team
    Follow YUI
    • on GitHub
    • on Twitter
    • on FriendFeed
    • on Facebook
    • on IRC
    • YUI Blog
    • YUI Theater
    • YUI Forums

    © 2010 YUI Library - Site Credits