This repository was archived by the owner on Jan 29, 2026. It is now read-only.
LA-224 AI fitting - step 12 - bugfix for tagging threaded text frames#61
Open
Edwin-van-der-Klaauw wants to merge 1 commit into
Open
Conversation
…hreaded frames, the InDesign Article creation went wrong; Always a new InDesign Article got created (bug#1) and the 2nd frame got added (bug#2). Same problem when having any other succeeding frame(s) selected, except for the first frame of the thread. Bug#1: It should not create an InDesign Article when the frame already belongs one. In that case, it should rename the article. Bug#2: It should always add the first text frame of the threaded frames to the article, and not any of its succeeding frames.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When tagging, having selected only the 2nd frame of threaded frames, the InDesign Article creation went wrong; Always a new InDesign Article got created (bug#1) and the 2nd frame got added (bug#2). Same problem when having any other succeeding frame(s) selected, except for the first frame of the thread.
Note that this was fixed as a preparation step for the AI fitting feature. For this feature, the frame selection logic is shared with the tagging- and export features. So when you'd select a 2nd frame of a thread, and click the
Fit Article with AImenu item, it needs to resolve the correct InDesign Articles, indirectly being "selected".