When I click on an input field that is editable, I want the background color to change to white within the box. Can someone please assist me with this?
Below is my code:
HTML
<div id="section{{section.index}}">
<h2 class="title" contenteditable="true" ng-model="section.title"
onclick="document.execCommand('selectAll',false,null)"
ng-keydown="disable_enter($event)"
ng-change="check_section_title($index)"
maxlength="40">
</h2>
</div>
The current output looks like this
https://i.sstatic.net/0ssry.png
**But I am aiming for something like this ** https://i.sstatic.net/tB1BP.png