Important changes to Tiny Cloud pricing > Find out more
Return to Website

advhr

This is a more advanced hr dialog contributed by Michael Keck. This hr plugin supports noshade, width and size. Installation Instructions

  1. Copy the advhr directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
  2. Add plugin to TinyMCE plugin option list example: plugins : "advhr".
  3. Add this "hr[class|width|size|noshade]" to extended_valid_elements option.

Initialization Example

tinyMCE.init({
  theme : "advanced",
  mode : "textareas",
  plugins : "advhr",
  theme_advanced_buttons1_add : "advhr",
  extended_valid_elements : "hr[class|width|size|noshade]"
});

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.