Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
a-doc-editor
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ramdayal Munda
a-doc-editor
Commits
6ffd5ec8
Commit
6ffd5ec8
authored
Dec 01, 2023
by
ramdayalmunda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some styling
parent
6e0a0888
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
3 deletions
+30
-3
a-doc-editor.css
dist/assets/a-doc-editor.css
+11
-0
a-doc-editor.js
dist/assets/a-doc-editor.js
+19
-3
No files found.
dist/assets/a-doc-editor.css
View file @
6ffd5ec8
...
...
@@ -14,6 +14,17 @@
.a-doc-editor
.header
{
overflow
:
auto
;
background-color
:
#f0f0f0
;
padding
:
3px
;
cursor
:
default
}
.a-doc-editor
.header
.option
{
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0.137
);
padding
:
1px
;
}
.a-doc-editor
.header
.option
:hover
{
padding
:
1px
;
background-color
:
white
;
cursor
:
pointer
;
}
.a-doc-editor
.footer
{
...
...
dist/assets/a-doc-editor.js
View file @
6ffd5ec8
...
...
@@ -78,9 +78,25 @@ var ADocEditor = function (customConfig) {
let
htmlSetup
=
/*html*/
`
<div class="a-doc-editor" id="
${
mainComponentId
}
">
<div class="header" id="
${
headerComponentId
}
">
<div class="menu-bar">Menu bar</div>
<div>Formating tools</div>
<div>Page tools</div>
<div class="option-bar">
<span class="option">File</span>
<span class="option">Edit</span>
<span class="option">Insert</span>
<span class="option">Help</span>
</div>
<div class="option-bar">
<span class="option">Search</span>
<span class="option">Undo</span>
<span class="option">Redo</span>
<span class="option">Heading</span>
<span class="option">Font Family</span>
<span class="option">Font Size</span>
<span class="option">Bold</span>
<span class="option">Italic</span>
<span class="option">Undeline</span>
<span class="option">Font Color</span>
<span class="option">Highlight Color</span>
</div>
</div>
<div class="body">
<div class="scrolling-area" id="
${
scrollingAreaId
}
">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment