Skip to content

HAR-7831 - placeholders for empty fields#101

Merged
harbournick merged 8 commits into
super-editorfrom
HAR-7831
Sep 26, 2024
Merged

HAR-7831 - placeholders for empty fields#101
harbournick merged 8 commits into
super-editorfrom
HAR-7831

Conversation

@mattConnHarbour
mattConnHarbour changed the base branch from main to super-editor September 26, 2024 17:20

@harbournick harbournick left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple minor tweaks


onMounted(() => {
loadDocument(props.fileSource);
onMounted(async () => {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need async here if we aren't awaiting anything?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing

@@ -1,66 +1,63 @@
<script setup>
import { defineProps, onMounted, ref } from 'vue';
import { defineProps, defineEmits, onMounted, ref } from 'vue';

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to explicitly import defineProps or defineEmits - in fact they'll generate a warning. Let's remove them.

Comment thread packages/superdoc/src/Superdoc.vue Outdated
:document-data="doc"
@selection-change="handleSelectionChange"
@ready="handlePdfReady"
@selection-drag="handleSelectionDrag"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to re-add these emits here? I removed them yesterday. If not, can you remove? If yes, we should figure out why - the selection is now handled in Superdoc.vue now in the viewer.

@harbournick harbournick left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@harbournick
harbournick merged commit fdd0a62 into super-editor Sep 26, 2024
@harbournick
harbournick deleted the HAR-7831 branch April 25, 2026 00:57
superdoc-bot Bot pushed a commit that referenced this pull request Jun 16, 2026
fix: pen testing issues

Note: this ports only the public subtree changes from a mixed source commit (18 public paths, 1 non-public path ignored).

Ported-From-Source-Repo: superdoc/orbit
Ported-From-Source-Commit: 2a22276578955cc76b38a69d1aedd1252b3f6f0e
Ported-Public-Prefix: superdoc/public
superdoc-bot Bot pushed a commit that referenced this pull request Jul 15, 2026
### Bug Fixes

- publish GitHub releases for stable versions only

### Changes

- Merge pull request #101 from superdoc/artem/SD-3452
- 🔄 Sync stable → main
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.

2 participants