summaryrefslogtreecommitdiff
path: root/help3
AgeCommit message (Collapse)AuthorFilesLines
2024-04-23remove another pesky double-space in bookmark snippetHEADmasterStéphane Guillou1-1/+1
looks like the last one according to: grep -E "\w[ ]{2,}\w" snippets.js Change-Id: Ice7ee3c8c82f0d9f7a3eef83dcc49d4689ef2a0f Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/166214 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Juan José González <juanjosegzl@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-16Use the new endpoint to check document, render error messages with JSJuan José González11-63/+249
Change-Id: I8e0a9ccd45270cd10fcd10fdd1d9a6b4745f8f3d Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/162051 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-16Add check xhp async endpoint.Juan José González1-0/+61
I am adding the endpoint first before the client using it, to prevent what happend with the render endpoint returning 404. Change-Id: I118b4adacf026ef85781f9e8d91d9cfdd00719f5 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/162050 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-12Changes to improve SEOJuan José González1-5/+7
Change-Id: I069863ec421e2a77a0f302318e84c9dffd794f02 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161730 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2024-01-07Abstract rendering code to a api endpoint, to eventually speed up renderingJuan José González12-148/+224
Reorganized some code, moved js to folder, and rendering code to a file to be included Overview: api/helpers.php: utility functions I plan to use with API endpoints api/xhp_to_xml.php: first endpoint, receives xhpdoc xml and return formatted html inside a json response index.html: mostly formatting and add JS code to detect "rendering mode" to call the new endpoint asynchronously. Planning to do this exclusively async in future commits renderer.php: I moved the existing code in index.html to its own file for the purpose of encapsulate it and rewrite it more easily Change-Id: I95d46f5256419383b6a2e3d791781f60c9d4361e Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161723 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-12-23Update icons used in Help editorOlivier Hallot11428-17148/+2027
Change-Id: I10f893a455b6788526bf11a6de72fde99a1e69fc Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161248 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-12-23Update icon replacement table from recent buildsOlivier Hallot1-25/+46
Change-Id: I0ee978a36947eca46d1ddf8434554883098e15fc Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161247 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-12-23Help editor: Housekeeping on CSSOlivier Hallot1-29/+36
Bring some classes and settings from recent CSS in help/default.css Change-Id: I9287c1570e4e76c9eb5bc19f248d6db3a7cb6a45 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161246 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-12-23Add header, menu bar and toolbar takes the whole width of the windowJuan José González5-31/+117
empty preview message. A couple of screenshots https://s3.us-west-1.amazonaws.com/juanjosegzl.com/images/xhpeditorempty+message.png https://s3.us-west-1.amazonaws.com/juanjosegzl.com/images/xhpeditorrender.png Change-Id: If0790ac728cf4f5ea8725a4c691d75b6a36fc607 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161208 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-12-22Add toolbar to editor with common actionsJuan José González7-10/+70
Move CSS and icons font locally Change-Id: I4e485eb52e2b6e2ad24851eb3db87a44fbbf8a2e Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161040 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-12-22Remove duplicate spaces inside tagsStéphane Guillou1-4/+4
Change-Id: I5b0aac5382b337e470b550f451942f12330f276d Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161163 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2023-12-21Increase the size of editor and refresh preview when loading a fileJuan José González2-1/+10
Change-Id: If36ea157bdb67923cae1237d97a416b9b8b10635 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/159637 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-12-19Remove name attribute from <link> snippetsIlmari Lauhakangas1-2/+2
Change-Id: If4ba3fd9e7e3503b3d562c9be00c6754b618d7bb Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/144448 Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2022-12-03Remove xml-lang from snippetsOlivier Hallot1-5/+5
xml-lang is IMPLIED in the DTD and is not required anymore Change-Id: I15bce30027a5d36b6d148fb84709bfdd7380a691 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/143627 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-12-03Update XHP editor w/ icons from Colibre-SVGOlivier Hallot14694-17/+21322
Change-Id: I5f15caf4fb85db5a982b8febafb324b976b4744f Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/142833 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-02-07Update xhp editor componentsOlivier Hallot80-983/+1524
- codemirror to rlease 5.65 - icon replacement table Change-Id: I67379476661bb4de514a433e59affe02cfab8801 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/129606 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-01-07Remove extra blank space after <menuitem> tagRafael Lima1-1/+1
In XHP editor, clicking Characters - <menuitem> will add an additional blank space at the end of the snippet. This is an issue while editing XHP files because when you click this option, it adds this blank space and occasionally makes XHP files have " " (two consecutive blank spaces). Change-Id: Ib7a9b235a8476bcbfce844009e9951101c07a4c5 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/128078 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-11-10Add images and objects to xhpeditor menuOlivier Hallot4-10/+19
Change-Id: I78c81c378e26a862446befa6f6a1f46ad13bf08d Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/125012 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-06-07Update codemirror editor to 5.61.1Olivier Hallot193-1634/+5474
Change-Id: Ie974339e17f5d81533d84e31c98ec49e2efb23f2 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/116790 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-06-07Update icons links for transformationOlivier Hallot1-79/+105
Change-Id: I205847fafb376663662216531769da256152101b Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/116789 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-11-03Update ricon replacement table for xhp editorOlivier Hallot1-81/+87
Change-Id: Ia9d7f4be314614bcb2c580f1a8e1eaa8f2a806ec Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/105080 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-19Update transforma and icons replacement tableOlivier Hallot2-1419/+2257
Change-Id: I2195dba51ce026e94cda19cbb1e6ae22f3555c5e Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/96748 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-19Add CHART in app selectorOlivier Hallot1-4/+4
Change-Id: I9abeaa6e92cc69602d3ed41cf7ed30af962bd6e4 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/96747 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-19Improve snippet for icon table and table cellOlivier Hallot1-6/+8
Change-Id: I6bce115d3b6d041a4c08c2b79b7b17ec4dce762f Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/96742 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-22Upgrade links to HTTPSGuilhem Moulin21-25/+25
Convert http:// URLs to https:// when there is a 301-redirect from the former to the latter. There is no reason to leak data here :-) * Our own (sub-)domains: .libreoffice.org, .documentfoundation.org * .google.com * License headers: mozilla.org, gnu.org, apache.org This commit also upgrades git:// URLs (whether hosted at TDF or at FreeDesktop) to https://git.libreoffice.org . And same thing for GitHub-hosted repos. Change-Id: Ia129eb1448a5263153c4b7cc1d03699052540ba2 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88818 Reviewed-by: Guilhem Moulin <guilhem@libreoffice.org> Tested-by: Guilhem Moulin <guilhem@libreoffice.org>
2020-02-18Add help page link for Editor in Help menuOlivier Hallot2-1/+1
Change-Id: Iffa4b084935fd5899244da40ecd07afb812d3986 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88935 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-17Remove new line after paragraphsOlivier Hallot2-9/+9
Change-Id: I7cab61c03d83919a4681b0f63d6b7207b97393f3 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88896 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-11xhpeditor: adjust display for small screensOlivier Hallot1-3/+3
Block stacks when display size is smaller than 800px Change-Id: Iad66b3f1e7215c07490d01fe69eb3a4884db8f58 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88482 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-11xhpeditor: display filename in render areaOlivier Hallot1-2/+5
Change-Id: Ic34a555cb4332017d4ebbf42f6ad1a3387f58775 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88480 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-11xhpeditor: improve rendering in small screenOlivier Hallot2-13/+13
This is work in progress Change-Id: I8610e810b65593c15cb5da42c470e17c6afc0532 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88479 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-11xhpeditor: refactor to make CM as componentOlivier Hallot591-14124/+18124
Move codemirror to a folder to ease maintenance/update Change-Id: Id1ec9451cc49bd305f53406dcfff8978bd639016 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88472 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-24xhpeditor: More tweaks in page layoutOlivier Hallot2-12/+16
Change-Id: Ia3e9e8f7ab2da99a9dd812cdceda8f66f1112c9d Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/87314 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-22xhpeditor: rework CSS grid (WIP)Olivier Hallot3-58/+66
Change-Id: I9656a051b0fbbdcfbdcf70266cce476533da2e94 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/87205 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-22xhpeditor: Fix generic image renderingOlivier Hallot1-1/+1
Change-Id: I0dbdab15d07bf0ef097c0713d2f1e8f3ade3954b Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/87203 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-22xhpeditor Add fullscreen, fix autocomplete for BraveOlivier Hallot3-2/+14
Change-Id: I8247696e99da7d6398c4ec80f9cbfa3257d30da4 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/87159 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-20Fix autocomplete and add codemirror nicetiesOlivier Hallot3-15/+17
- Fix autocomplete - add search feature - Add closetags - add jumptoline ... Change-Id: I4c59dc05484ba60522235509586d2a187eeb4d37 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/87103 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-16xhpeditor fixes in CSSOlivier Hallot2-4/+4
Change-Id: I5129a1bcbf0b88c90464643a549c2813521bfc1b Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86921 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-16xhpeditor: more refactoringOlivier Hallot4-296/+301
- split CSS into editor and renderpage (DisplayArea) - touching CodeMirror addons (WIP) Change-Id: Ie47c30a17a7105f75a006b0b4c74bd804cc84a1c Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86916 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-16xhpeditor: clear CSS and refactorOlivier Hallot5-57/+68
Change-Id: I45da5bda3bd2e51367cb0cd7f61610174ba0317b Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86898 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-15tdf#130013 Prevent entities to be converted in textareaOlivier Hallot1-1/+1
Change-Id: Ie1e44b9bc81aa628460a3c52dadecc11f85f372b Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86851 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-12xhpeditor: Add dropdown menuOlivier Hallot4-109/+226
- Add css-only dropdown menu from W3C - Add Help for XHP ref and editor commands - Fix header divs on top to display when scrollng - Refactor large chunks of page elemets display Change-Id: Ie173c492a72b9f49200303d99b30544bdfc0d53e Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86636 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-12Fix header in rendered pageOlivier Hallot2-8/+19
Allow to keep the appl and sys selectors visible when scrolling the rendered page. Change-Id: I5579523b73f6bd734bcae2854e788ad760abb954 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86628 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-07Improve wording of check messages.Olivier Hallot1-8/+9
Change-Id: I9658ea4a0a63c96f5367bfb1bba282834c0b742b Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86351 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-06xhpeditor: several refactorOlivier Hallot7-255/+133
- place codemirror config in proper javascript file - refactor snippets buttons - add codemirror niceties (WIP) Change-Id: I6b0afd1a120026e5952823d370d5f7827b3c6fe5 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86271 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-05Add XML formation checkOlivier Hallot1-35/+44
Change-Id: I14d87d2e348a795286bd08d36015bac38c88a9ba Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86242 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-04xhpeditor: fixes and improvementsOlivier Hallot3-18/+22
- close bracket at right place - improve icontable snippet - add image paragraph - better switch layout - better switchinline layout Change-Id: Ib1f57d0ba35937a5b81427d180d0c5a53769ecaa Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86228 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-04Fix missing bracketOlivier Hallot1-0/+1
Change-Id: Id850e1091b0c45bc57506364690f1e45e6f169b8 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86224 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-04xhpeditor: Add duplicate ID check for XHPOlivier Hallot1-3/+20
Add check of duplicated id for - paragraph, - headings ('-6) -and notes, tips, warning Change-Id: I10049bda08f03cc940d1678253fbee8f80996d11 Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86221 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-12-17xhpeditor: implement check XHP and refactorOlivier Hallot5-107/+191
* changed switch selector to radio * offload index.php of chuncks of HTML * Implement check DTD (after stackoverflow) * added companion snippets.php for aux functions Change-Id: I54bd08f1316227d1b3f1e597cb9a043ca5f4e9c5 Reviewed-on: https://gerrit.libreoffice.org/85291 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-12-10xhpeditor: remove references to online/offline helpOlivier Hallot1-8/+1
Change-Id: I8051258b12d1deafce87cd3b00f68ed801830702 Reviewed-on: https://gerrit.libreoffice.org/84848 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>