Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedding Notes #1754

Open
Cossackx opened this issue Jan 9, 2025 · 5 comments
Open

Embedding Notes #1754

Cossackx opened this issue Jan 9, 2025 · 5 comments
Assignees
Labels
answered Question answered, no more to do question Further information is requested

Comments

@Cossackx
Copy link

Cossackx commented Jan 9, 2025

How can I help you?

When embedding a note into another note, it only shows one container in the new note. Is this a bug or a feature? If a note that I embed has a container for a note and a separate image outside the text container (hence, 2 containers), I would love to have both seen when embedding into another note (canvas),
Ask away...

THE FINE PRINT This is a hobby project that I started for myself. I'm happy to take requests and will promise to
consider each one carefully but offer no guarantees that I will ultimately agree to their
usefulness or have time to implement any of them. If OneNote offers a "close enough" work-around
then I will probably reject the request - you've been warned!

@Cossackx Cossackx added question Further information is requested unread I have seen it or had time to refine it yet labels Jan 9, 2025
@stevencohn stevencohn removed the unread I have seen it or had time to refine it yet label Jan 9, 2025
@stevencohn
Copy link
Owner

Feature. This is an excerpt from the Wiki https://onemoreaddin.com/commands/Reference%20Commands.htm

Note that this will only embed the first outline on the page; outlines are the boxes that appear and let you move content around the page. If you have a large and complex page with multiple outlines, it would be better to simply link to that page rather than embed its contents. If there are no outlines on the source page but there are images or attached files, this command will embed only the first item on the page.

@stevencohn stevencohn added the answered Question answered, no more to do label Jan 9, 2025
@stevencohn stevencohn self-assigned this Jan 9, 2025
@stevencohn
Copy link
Owner

The rationale is that it's horribly complex to come up with a logical way to sequence or organize multiple root elements from the source page onto a target page, which might also have multiple root elements. By restricting it to a single container or object, it's easy to inline that within the running content on the target page.

@Cossackx
Copy link
Author

Thank you!

@jasonjac2
Copy link

Just for clarity for me, what does "first" mean in this context: Min y; 1st in the ON Page Outline collection?
Can you change the order of Outlines?
I don't currently use this feature, but I think I should.

@stevencohn
Copy link
Owner

Yes, Outlines are ordered in the XML from min(y) to max(y). But they can also diff in (x) as you know, allowing the y+height to create overlaps vertically or horizontally. Inserting a single Outline in the middle of that is reasonable. But the source page might be just as, or more, complex, with background images and Ink (both outside of Outlines) making it really difficult to rearrange everything on an infinite canvas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered Question answered, no more to do question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants