User clicks text on web page. Block of text becomes a form. User edits contents and presses submit button. New text is sent to web server and saved. Form becomes normal text again. JQuery Editable extension For Yii2.
The preferred way to install this extension is through composer.
php composer.phar require --prefer-dist modernkernel/yii2-jeditable "*"
require section of your composer.json.
Once the extension is installed, simply use it in your code by :
'content' => 'Editable content here',
'tooltip'=>'click to edit',
More info visit: jeditable.