Share via

How can I prevent a character style from being applied to the paragraph mark?

Anonymous
2021-01-14T01:26:59+00:00

I have defined a number of paragraph styles as well as a number of 'character' type styles. When I select a word that is at the end of a paragraph and apply the character style to that word, the style is also applied to the paragraph mark. I would like the character style to be applied only to the selected word and not to the paragraph mark.

Here are examples.

  1. This is the paragraph style ("Note"), confirmed for 3 individual paragraphs by selecting just the paragraph mark and noticing the style it has assigned.

  1. Select the word 'Xxx' in the first paragraph and apply the character style. Notice that the selection highlighting does not extend to the paragraph mark. The word was selected by double-clicking.

  1. Select only the paragraph mark -- observe that the style is now the character style and not the original (underlying) paragraph style.

  1. Repeat for the second paragraph, where there is a space after the selected word and before the paragraph mark. Again, the character style is applied beyond the selection and onto the paragraph mark.

  1. Repeat for the third paragraph, which has punctuation after the selected word. In this case, the paragraph mark's style is preserved.

  1. In Preferences, I have tried excluding the paragraph mark from selection 

as well as unchecking the option for selecting an entire word.

In both cases, neither of these two Preference settings (on or off) alter the behavior described here.

The only way I have found to correct the situation is to do a global Find/Replace to change the paragraph marks in the whole document, like this:

This will restore all altered paragraph marks. But I would, of course, prefer to have the character style applied appropriately in the first place.

Is there a way to avoid having this happen?

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

9 answers

Sort by: Most helpful
  1. Anonymous
    2021-01-14T05:43:33+00:00

    Hi keriAH,

    Thank you for querying in this forum.

    For the problem you encountered, we have also tested it on our side, we used the latest version of Word 16.45, we just created a new Word document and created a style for Paragraph and a style for character(just changed the font and font size). Then we referred the steps you provided and created three paragraphs, we selected the whole three paragraphs and format with Note paragraph style, then selected the last word in each paragraph and changed the character style, we found the paragraph mark will not be changed.

    At the same time, we have also checked Word Preferences and we found we have selected Include Paragraph mark when selecting paragraphs and Select entire word when selecting text. We cannot reproduce the same situation as yours, given the situation you encountered, we have also searched a lot and we may not find any settings to change this behavior. However, we’d give you some suggestions below and hope that will help you:

    1. Since the latest version of Office is 16.45, we’d suggest you update your Office to the latest version to check if the same problem will occur.
    2. If you are using Big Sur, we’d suggest you try to remove folder : ~/Library/Containers/Microsoft Word(press command +shift +G and enter the route to go the folder) to remove caches of the app and check the result. If you are using Catalina, we’d suggest you try to remove folder : ~/Library/Containers/com.microsoft.Word(press command +shift +G and enter the route to go the folder) to remove caches of the app and check the result.

    At the same time, to better understand your situation, could you provide the information below and we can do more tests?

    1. Could you provide the version of your Word? You can go to Word > About Word and provide the screenshot of it.
    2. May I know if all documents have the same problem?
    3. Could you provide the version of Mac OS?
    4. We noticed that it became the hyperlink after formatting work, could you provide the detailed steps about how your create this new style?

    Best Regards,

    Sukie

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. John Korchok 232.4K Reputation points Volunteer Moderator
    2021-01-14T02:28:29+00:00

    What problem is this causing? What are you trying to solve? You wouldn't normally apply a character style to an entire paragraph. Instead, you would select a phrase or hyperlink, etc. and apply the style to the selection.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-01-16T01:34:06+00:00

    For the problem you encountered, we have also tested it on our side, we used the latest version of Word 16.45, we just created a new Word document and created a style for Paragraph and a style for character(just changed the font and font size). Then we referred the steps you provided and created three paragraphs, we selected the whole three paragraphs and format with Note paragraph style, then selected the last word in each paragraph and changed the character style, we found the paragraph mark will not be changed. 

    That is close to what I've done, except that I did not begin with a newly-created Word document. This is one that began life as a .docx created in Word Mac 2011. And, of course, you had different results at the end (but do read to the end of my reply, where I report variations in my use cases).

    At the same time, we have also checked Word Preferences and we found we have selected Include Paragraph mark when selecting paragraphs and Select entire word when selecting text. 

    I tried various combinations of those Preference settings and that did not change the behavior of the character selection. My Preferences are not set the same as yours.

    Since the latest version of Office is 16.45, we’d suggest you update your Office to the latest version to check if the same problem will occur.

    That is the version I'm on. I'm running as the first few days of a "30-day trial" of Office 365, and I have confirmed that is the version.

    If you are using Big Sur, ...

    I am not. I am running the current rev of Catalina (10.15.7).

    If you are using Catalina, we’d suggest you try to remove folder : ~/Library/Containers/com.microsoft.Word(press command +shift +G and enter the route to go the folder) to remove caches of the app and check the result.

    I can try that and will report back in my next reply. But since this is one of the first things I'm trying in a brand new installation of Office 365 I'm not thinking that this will change the behaviors.

    At the same time, to better understand your situation, could you provide the information below and we can do more tests?

    1. Could you provide the version of your Word? You can go to Word > About Word and provide the screenshot of it.

    1. May I know if all documents have the same problem?

    Yes, this has been a problem with all documents and it has been happening since Word 2011/Mac. I was hoping to find it fixed in the latest Word.

    1. Could you provide the version of Mac OS?

    Image

    A few words about the OS. I have partitioned the HD of my MacBook Air. Catalina is running on one partition. I have High Sierra (& Word 2011) on the other partition. To test the original (2011) Word behavior I need to reboot into HighSierra and compare to that OS.

    1. We noticed that it became the hyperlink after formatting work, could you provide the detailed steps about how your create this new style?

    I don't understand what you are saying. None of my styles turn into hyperlinks in this testing.

    All my styles were created in Word 2011 years ago. I have modified the styles in Word 365 (e.g., to tweak some of the font and paragraph properties) but they all began life long, long ago.

    I did observe one interesting variation in this testing that you can try to see if you can duplicate my results under very specific cases. 

    Use-case 1: Create a paragraph consisting of only ONE WORD -- i.e., no characters before the word I'm selecting and no characters after the word (other than a blank space). Select the word (by double-clicking). Result: the character style has been applied to the word and to the paragraph mark, apparently overriding the paragraph style. For example, if I select the entire paragraph (by putting the mouse in the left margin and highlighting the whole paragraph: the word and the paragraph mark) and check the assigned style, it reflects the character style. If I then do a find/replace of the paragraph mark, using the advanced replace option to assign character-style "Default Paragraph Font" to the paragraph mark, the paragraph style is restored.

    Use-case 2: Create a paragraph of multiple words, assign the "Note" style to the paragraph, and select just the last word in this multi-word paragraph (by double-clicking) and style it the character style. Result: only the single word is styled. The paragraph mark, as well as the other words of the paragraph, retain the styling of the paragraph.  

    Use-case 3: Create a multi-word paragraph, assign the paragraph style to the paragraph, select the final word and style it with the character style. (The paragraph style is retained.) Select all the non-character-styled words & spaces of the paragraph (i.e., everything prior to the character-styled final word) and assign the character style. (The paragraph style is retained by the paragraph mark.)

    Use-case 4: Create a multi-word paragraph, assign the paragraph style to the paragraph, select all the content of the paragraph (words and spaces) -- taking care to exclude the paragraph mark from the selection -- and style it with the character style. (The paragraph mark takes on the character style.)

    Observe: the problem happens only for the first and fourth use cases.

    I am using a Shortcut Key that has been associated with each of the styles in this test to do the style assignments.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2021-01-15T23:22:50+00:00

    Hi keriAH,

    May I know if you have seen my reply? May I know if you still need help? If so, you can post back and we will try our best to help you.

    Best Regards,

    Sukie

    Hi, Sukie,

     I just saw your reply and will compile the answers you requested.

    Thank you

    Keri

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2021-01-15T06:26:53+00:00

    Hi keriAH,

    May I know if you have seen my reply? May I know if you still need help? If so, you can post back and we will try our best to help you.

    Best Regards,

    Sukie

    Was this answer helpful?

    0 comments No comments