Skip to content

Resolved an issue related with Underline#1

Open
prmkishor wants to merge 25 commits into
nickstenning:masterfrom
prmkishor:master
Open

Resolved an issue related with Underline#1
prmkishor wants to merge 25 commits into
nickstenning:masterfrom
prmkishor:master

Conversation

@prmkishor
Copy link
Copy Markdown

@prmkishor prmkishor commented Nov 12, 2022

@fchasen I am using epubjs in my react application where I tried to impliment underline feature of epubjs. below are the problems which I was facing:

  • Unable to set color of underline
  • After marking as underline, rectangle shape is created like below
    image

After these changes:

  • Able to pass color of underline by setting below css
    .epubjs-ul { stroke: red; stroke-width: 2px; stroke-linecap: square; stroke-opacity: 0.8; }

  • Below are the output:
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants