Important changes to Tiny Cloud pricing > Find out more

tinymce.util

Browser related APIs.

Color

This class lets you parse/serialize colors and convert rgb/hsb.

Delay

Utility class for working with delayed actions like setTimeout.

EventDispatcher

This class lets you add/remove and fire events by name on the specified scope. This makes it easy to add event listener logic to any class.

I18n

I18n class that handles translation of TinyMCE UI. Uses po style with csharp style parameters.

JSON

JSON parser and serializer class.

JSONRequest

This class enables you to use JSON-RPC to call backend methods.

LocalStorage

Observable

This mixin will add event binding logic to classes.

Tools

This class contains various utlity functions. These are also exposed directly on the tinymce namespace.

URI

This class handles parsing, modification and serialization of URI/URL strings.

XHR

This API allows you to send XMLHTTPRequests cross browser.

Can't find what you're looking for? Let us know.

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.