The 'getTextContent' function retrieves the HTML source or plain text shown in the HTML editor.

  • Prototype: plugin.getTextContent(iDbPos, bRich);
  • Parameters:
    1. iDbPos: a position number (0-based) of the database on the tab control; -1 for the current database.
    2. bRich: true for HTML source, false for plain text.
  • Return Value: the full HTML source or plain text.
  • Example:
    alert(plugin.getTextContent(-1, true));