YuiRestClient::Widget::RichText - handle rich text objects
Copyright 2020 SUSE LLC
SPDX-License-Identifier: FSFAP
QE Yam <qe-yam at suse de>
return $self->{rt_welcome}->text();
return $self->{rt_items}->activate_link($module_full_name);
Class to work with YRichText objects. Rich text objects are
{
"class": "YRichText",
"enabled": false,
"hstretch": true,
"id": "test",
"text": "<small>Select something here</small>",
"vstretch": true,
"vweight": 25
}
text() - return the value of the "text" property.
activate_link($link) - activates a link in the rich text
If the rich text field contains a link, then this link can be activated with this function.