16 343
правки
(Новая страница: «Events available: single and long press, as well as swipe left and right.») Метки: правка с мобильного устройства правка из мобильной версии |
(Новая страница: «=== Read === Display values from the source in a text field.») |
||
Строка 229: | Строка 229: | ||
}} | }} | ||
==== Release wb-2304 and older ==== | |||
= | The SVG panel editor assigns data-svg-param-id at the time of binding actions to the element, so to edit the image, you need to load it from the controller to the computer: | ||
# Open the SVG panel for editing. | |||
# | # At the top of the window, click the '''Download''' button, the svg file will be downloaded to your computer. | ||
# | # Edit the file in Inkscape. We do not recommend editing such files in Adobe Illustrator - [https://support.wirenboard.com/t/redaktirovanie-svg-dacsboard bindings are lost], there is no information about other editors. | ||
# | |||
When editing, keep in mind that if a link was assigned to an svg element, then it contains a hidden data-svg-param-id and when it is duplicated, a new element is created with the same data-svg-param-id. | |||
Edit the resulting svg file and upload it to the controller again: | |||
# In the edit window, click the '''Select File''' button. | |||
# | # After the '''Change''' button becomes active, click on her. | ||
# | |||
== Transfer to another controller == | |||
Sometimes you need to make a backup copy of the svg-panel, for example, to transfer to another controller. To do this, you need to save the svg file converted by the editor and the description of its links and upload them to another controller. | |||
Please note that the names of the MQTT topics on both controllers must match. If this is not the case, svg elements will need to be attached to new MQTT topics. | |||
<div lang="ru" dir="ltr" class="mw-content-ltr"> | <div lang="ru" dir="ltr" class="mw-content-ltr"> |