From 3b06901a66232c9de174fae3c09bdad401b234c2 Mon Sep 17 00:00:00 2001 From: Alexis Puente Montiel Date: Thu, 17 Feb 2022 22:17:14 +0100 Subject: Quanta: Add dtep to support HTML5 mode. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Puente Montiel Minor fixes. Signed-off-by: Slávek Banko --- quanta/data/dtep/html5/description.rc | 58 +++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 quanta/data/dtep/html5/description.rc (limited to 'quanta/data/dtep/html5/description.rc') diff --git a/quanta/data/dtep/html5/description.rc b/quanta/data/dtep/html5/description.rc new file mode 100644 index 00000000..02e1f8cd --- /dev/null +++ b/quanta/data/dtep/html5/description.rc @@ -0,0 +1,58 @@ +[General] +Name = HTML 5 +NickName = HTML 5 +URL = https://www.w3.org/TR/html5/syntax.html#the-doctype +DoctypeString = html +MimeTypes = text/html +DefaultExtension = html +Groups = Core, I18n, Script,Focus +NumOfPages = 3 +CaseSensitive = true +Documentation = HTML + +[Toolbars] +Location = html5 +Names = base, style, meta, tools + +[Page1] +Title = Core and i18n +Groups = Core, I18n + +[Page2] +Title = Events +Groups = Script + +[Page3] +Title = Focus +Groups = Focus + +[Extra rules] +BooleanAttributes = simple +Single Tag Style = XML +StructGroupsCount = 3 + +[Parsing rules] +SpecialTags = script(language) +MayContain = php, css + +[StructGroup_1] +Name = Images (anchor) +No_Name = No Images (anchor) +Icon = image +Tag = img(src) +HasFileName = true + +[StructGroup_2] +Name = Links +No_Name = No Links +Icon = www +Tag = a(name,href) +HasFileName = true +FileNameRx = .*\||#.* + +[StructGroup_3] +Name = Resources (link) +No_Name = No Links (link) +Icon = www +Tag = link(href) +HasFileName = true -- cgit v1.2.1