Skip to content

fix: do not lose paste data as code blocks#1178

Open
saif-ellafi wants to merge 1 commit intoAppFlowy-IO:mainfrom
saif-ellafi:soft-code-parser
Open

fix: do not lose paste data as code blocks#1178
saif-ellafi wants to merge 1 commit intoAppFlowy-IO:mainfrom
saif-ellafi:soft-code-parser

Conversation

@saif-ellafi
Copy link
Contributor

Pasting text with leading whitespaces results in lost data. Try pasting this in the rich editor:

1. The 11 Core Actions (Common Skills)

These are categorized under three Attributes, which you also use for Resistance Rolls.
Insight

    Research: Scrutinize documents, items, or people to gather info or learn secrets.

    Rig: Create, repair, or disable mechanisms, traps, and fortifications.

    Scout: Move unseen, gather intelligence on the terrain, or spot enemy weaknesses.

Prowess

    Maneuver: Navigate obstacles (climb, run, jump) or handle mounts and pack animals.

    Shoot: Engage targets with precision from a distance with firearms.

    Skirmish: Close-quarters combat, brawling, or holding a position under fire.

    Wreck: Use savage force or explosives to sabotage obstacles and breach defenses.

Resolve

    Consort: Socialize with connections or heritage groups to get supplies or intel.

    Discipline: Command obedience through force of personality or intimidation.

    Marshal: Coordinate a squad's fire or lift morale in the middle of chaos.

    Sway: Use logic, charm, or deception to change someone’s mind.

You will notice you will get only partial data.
This PR handles code blocks in a soft-lazy way at least to not lose data. Perhaps in the future a proper renderer can be implemented.

Thank you
Saif

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.

1 participant