Changeset 62dea30 in Klonkt
- Timestamp:
- 06/24/2026 05:38:34 PM (3 months ago)
- Branches:
- main
- Children:
- 6bee3ec
- Parents:
- 848b76d
- File:
-
- 1 edited
-
src/views/pages/post-edit.ejs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/post-edit.ejs
r848b76d r62dea30 135 135 role="textbox" 136 136 aria-multiline="true" 137 aria-label="<%= t('pedit.editor_aria') %>" 138 data-placeholder="<%= t('pedit.editor_placeholder') %>"></div> 137 aria-label="<%= t('pedit.editor_aria') %>"></div> 139 138 140 139 <%# Sticky "tap to edit" hint (only visible on touch + non-fullscreen … … 593 592 outline-offset: -10px; 594 593 } 595 .pe-editor[data-placeholder]:empty::before,596 .pe-editor[data-placeholder]:has(br:only-child)::before {597 content: attr(data-placeholder);598 color: var(--ink-muted, #999);599 pointer-events: none;600 opacity: .55;601 }602 594 /* Inline prose styles inside the editor — match the public post styling so 603 595 what you see is roughly what you'll get. Margins are tighter than on the … … 1540 1532 editor.setAttribute('contenteditable', 'false'); 1541 1533 editor.classList.add('pe-tap-to-edit'); 1542 editor.setAttribute('data-placeholder', '<%= t('pedit.tap_to_write') %>');1543 1534 editor.addEventListener('click', function () { 1544 1535 if (!isFs()) openFs();
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)