question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Format Default Output

See original GitHub issue

Hello Pell Team,

When you type in the pell editor and press enter, the html output adds a div with text in it. Can you change this to be another element (like a p tag) instead or have all text be wrapped by a p tag? Currently, it sets it to <div></div>.

Example, http://recordit.co/O5dBRBdKbw

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Graphettioncommented, Oct 24, 2017

This too could probably be a plugin just for the sake of bulking the editor. I love what you’re doing, btw.

0reactions
federicosancommented, May 9, 2019

You can use defaultParagraphSeparator command

In the context of pell (maybe wrap in a setting like styleWithCSS):

exec('defaultParagraphSeparator', 'p');

You can also choose br

  1. Do you know if when chosing br there is some way to get that the second enter you press start a new paragraph? Hitting enter once would do nothing or add a br, but two consecutive brs would create a new paragrah.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting the AWS CLI output format - AWS Documentation
JSON is the default output format of the AWS CLI. Most programming languages can easily decode JSON strings using built-in functions or with...
Read more >
How to change the default output format in AWS CLI?
According to the documentation there are two ways to set the default output format. Using the output option in a named profile in...
Read more >
Out-Default (Microsoft.PowerShell.Core)
PowerShell automatically adds Out-Default to the end of every pipeline. Out-Default decides how to format and output the object stream.
Read more >
Format Output - MATLAB & Simulink - MathWorks
By default, MATLAB displays blanks lines in Command Window output. You can select one of two line spacing options in MATLAB. loose —...
Read more >
How to Configure Azure CLI Default Output Format
Here you can now change the default output format. Azure CLI Tip – Use AI to find az commands. If you did use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found