136 virtual void InsertHTML (
const QString& html) = 0;
147 virtual void SetCustomTags (
const CustomTags_t& tags) = 0;
166 virtual QAction* AddInlineTagInserter (
const QString& tagName,
const QVariantMap& params) = 0;
172 virtual void ExecJS (
const QString& js) = 0;
175 Q_DECLARE_INTERFACE (
IAdvancedHTMLEditor,
"org.Deviant.LeechCraft.IAdvancedHTMLEditor/1.0")
std::function< bool(QDomElement &)> FromKnown_
The converter of an instance of the tag from HTML.
QPair< QRegExp, QString > Replacement_t
virtual ~IAdvancedHTMLEditor()
QList< Replacement_t > Replacements_t
QString TagName_
The name of the custom tag, like lj.
QList< CustomTag > CustomTags_t
Describes a single custom tag.
std::function< void(QDomElement &)> ToKnown_
The converter of an instance of the tag to HTML.
Interface for HTML/WYSIWYG editors with some advanced functionality.