forked from FINAKON/HelpProject
1. Initial Commit - a boiler plate code and POC to realize the concept of context sensitive help 2. Frontend code written in ReactJS 3. Backend code written in Java, Spring Boot Framework 4. Frontend Start: pre-requisites : node, npm npm run dev ==> to start the frontend vite server 5. Backend Start: pre-requisites : java, mvn mvn spring-boot:run ==> to start the backend server 6. Visit http://localhost:5173/ for basic demo of help, press F1 in textboxes 7. Visit http://localhost:5173/editor and enter "admin123" to add/modify texts. Happy Coding !!! Thank you, Bhargava.
54 lines
1.3 KiB
Stylus
54 lines
1.3 KiB
Stylus
tooltipMargin = 8px
|
|
|
|
.ql-snow
|
|
.ql-tooltip
|
|
background-color: #fff
|
|
border: 1px solid borderColor
|
|
box-shadow: 0px 0px 5px shadowColor
|
|
color: textColor
|
|
padding: 5px 12px
|
|
white-space: nowrap
|
|
&::before
|
|
content: "Visit URL:"
|
|
line-height: 26px
|
|
margin-right: tooltipMargin
|
|
input[type=text]
|
|
display: none
|
|
border: 1px solid borderColor
|
|
font-size: 13px
|
|
height: 26px
|
|
margin: 0px
|
|
padding: 3px 5px
|
|
width: 170px
|
|
a.ql-preview
|
|
display: inline-block
|
|
max-width: 200px
|
|
overflow-x: hidden
|
|
text-overflow: ellipsis
|
|
vertical-align: top
|
|
a.ql-action::after
|
|
border-right: 1px solid borderColor
|
|
content: 'Edit'
|
|
margin-left: tooltipMargin*2
|
|
padding-right: tooltipMargin
|
|
a.ql-remove::before
|
|
content: 'Remove'
|
|
margin-left: tooltipMargin
|
|
a
|
|
line-height: 26px
|
|
.ql-tooltip.ql-editing
|
|
a.ql-preview, a.ql-remove
|
|
display: none
|
|
input[type=text]
|
|
display: inline-block
|
|
a.ql-action::after
|
|
border-right: 0px
|
|
content: 'Save'
|
|
padding-right: 0px
|
|
.ql-tooltip[data-mode=link]::before
|
|
content: "Enter link:"
|
|
.ql-tooltip[data-mode=formula]::before
|
|
content: "Enter formula:"
|
|
.ql-tooltip[data-mode=video]::before
|
|
content: "Enter video:"
|