 |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
Go to the documentation of this file.
124 virtual void InsertHTML (
const QString& html) = 0;
135 virtual void SetCustomTags (
const CustomTags_t& tags) = 0;
154 virtual QAction* AddInlineTagInserter (
const QString& tagName,
const QVariantMap& params) = 0;
160 virtual void ExecJS (
const QString& js) = 0;
163 Q_DECLARE_INTERFACE (
IAdvancedHTMLEditor,
"org.Deviant.LeechCraft.IAdvancedHTMLEditor/1.0")
Interface for HTML/WYSIWYG editors with some advanced functionality.
std::function< bool(QDomElement &)> FromKnown_
The converter of an instance of the tag from HTML.
QList< CustomTag > CustomTags_t
QList< Replacement_t > Replacements_t
std::function< void(QDomElement &)> ToKnown_
The converter of an instance of the tag to HTML.
@ Empty
Empty partition without a type.
QString TagName_
The name of the custom tag, like lj.
Describes a single custom tag.
virtual ~IAdvancedHTMLEditor()
QPair< QRegExp, QString > Replacement_t