Skip to content

Commit

Permalink
removed unnecessary logs
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioCasCeb committed Jul 28, 2023
1 parent 786ccbd commit 0420244
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/web/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -569,15 +569,13 @@ export async function save(docType, format) {
*/
export async function openEditdor(docType, format) {
const value = window.editor.getValue();
console.log(value);

if (!value) {
alert(`No ${docType.toUpperCase()} provided`);
return;
}

const data = docType + format + value;
console.log(data);
const compressed = Validators.compress(data);
const URL = `https://eclipse.github.io/editdor/?td=${compressed}`
window.open(URL, '_blank');
Expand Down

0 comments on commit 0420244

Please sign in to comment.