• Home
  • Try it
  • Download
  • Documentation
  • Enterprise
  • Develop
  • Forum
Welcome Guest! Login or Register
Version: 4.0b3 Headerimage

Get your own copy

Don't hesitate! Just download and test it all by yourself for free!

  • You are here:
  • TinyMCE API 3.x
  • tinymce
  • tinymce.dom
  • tinymce.dom.DOMUtils
  • encode
  • History
  • New wiki page

encode

  • Print
public function encode(text:String):String
Entity encodes a string, encodes the most common entities <>"& into entities.

Params

Name Type Description
text String String to encode with entities.

Returns

String Entity encoded string.
  • TinyMCE
  • TinyMCE API 4.x
  • TinyMCE 3.x
  • TinyMCE API 3.x
    • tinymce
      • tinymce.dom
        • tinymce.dom.DOMUtils
          • DOMUtils
          • add
          • addClass
          • bind
          • create
          • createHTML
          • createRng
          • decode
          • destroy
          • encode
          • findCommonAncestor
          • fire
          • get
          • getAttrib
          • getAttribs
          • getClasses
          • getNext
          • getOuterHTML
          • getParent
          • getParents
          • getPos
          • getPrev
          • getRect
          • getRoot
          • getSize
          • getStyle
          • getViewPort
          • hasClass
          • hide
          • insertAfter
          • is
          • isBlock
          • isEmpty
          • isHidden
          • loadCSS
          • parseStyle
          • remove
          • removeClass
          • rename
          • replace
          • run
          • select
          • serializeStyle
          • setAttrib
          • setAttribs
          • setHTML
          • setOuterHTML
          • setStyle
          • setStyles
          • show
          • split
          • toHex
          • unbind
          • uniqueId
        • tinymce.dom.Element
        • tinymce.dom.EventUtils
        • tinymce.dom.ScriptLoader
        • tinymce.dom.Selection
        • tinymce.dom.Serializer
        • Event
      • tinymce.html
      • tinymce.plugins
      • tinymce.ui
      • tinymce.util
      • tinymce.AddOnManager
      • tinymce.ControlManager
      • tinymce.Editor
      • tinymce.EditorCommands
      • tinymce.Formatter
      • tinymce.Plugin
      • tinymce.Theme
      • tinymce.UndoManager
      • tinymce.WindowManager
      • DOM
      • EditorManager
    • tinymce
    • tinyMCEPopup
    • tinyMCE
  • MCImageManager
  • MCFileManager

Search

Search documentation.

Search

Need support?

If you need support, premium support is provided by our partners.

ask question
Back to site top

Provided for developers anywhere, everywhere, anytime and with any content.

  • Try it
  • Download
  • Documentation
  • Enterprise
  • Develop
  • Forum
Moxiecode

© 2003-2013 Moxiecode Systems AB.
All rights Reserved.
By being on this site, you allow cookies to be used.

Powered by Cachefly